<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Image Editing on Michael’s Domain</title><link>https://jeltsch.org/en/tags/image-editing/</link><description>Recent content in Image Editing on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/image-editing/index.xml" rel="self" type="application/rss+xml"/><item><title>Editing (resizing, format converting, compressing) images in the command line with ImageMagick (mogrify, convert)</title><link>https://jeltsch.org/en/editing_resizing_format_converting_compressing_images_in_the_command_line_with_imagemagick_mogrify_convert/</link><pubDate>Wed, 23 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/editing_resizing_format_converting_compressing_images_in_the_command_line_with_imagemagick_mogrify_convert/</guid><description>&lt;p&gt;Resize all tif images in the current directory:&lt;code&gt;mogrify -resize 25% 25% *.tif&lt;/code&gt;Resize all jpeg images in the current directory to a width of 614 pixels and keep the image ratio constant:&lt;code&gt;mogrify -resize 614 *.jpg&lt;/code&gt;As above, but resize the hight to 614 pixels:&lt;code&gt;mogrify -resize x614 *.jpg&lt;/code&gt;Convert all bmp imgaes in the current directory into tiff images:&lt;code&gt;mogrify -format tiff *.bmp&lt;/code&gt;Compress all tiff images in the current directory with ZIP compression:&lt;code&gt;mogrify -compress ZIP *.tiff&lt;/code&gt;I tried to convert also pict files (from Macintosh), but without success, although the pict file format appears to be supported by Imagemagick. In order to make sure that ImageMagick knows that the file to convert is a pict file I used this command:&lt;code&gt;convert pict:Photo0024.PICT tiff:Photo0002.tif&lt;/code&gt;There is also a picttoppm utility in the netpbm package, but it was not anymore included in the version that Suse 9 uses; so I couldn&amp;rsquo;t check that out…Interestingly PixiePlus can display pict files, where does it take the routines from?If you have very large images, the default limits of ImageMagick are resulting in an error(e.g. mogrify-im6.q16: width or height exceeds limit) and you need to edit /etc/ImageMagick-6/policy.xml!&lt;/p&gt;</description></item></channel></rss>