Drainbamage.nl blog of Christiaan Ottow

19Nov/090

Thumbnails too large with ImageMagick convert

Just a quick fix for a problem I ran into today.

When using the ImageMagick "convert" command, my thumbnails were way to large. When resizing a large image to create a thumbnail, the thumbnail would be 41k while it should be around 4k. The input image was 1600x1200, 300DPI, 594k.

After searching for a while, I found that you shouldn't use the -scale or -resize option, but the -thumbnail option. This strips profile data from the image. Apparently, the image contains profile data which is left intact when resizing/scaling, but can be stripped with the thumbnail option.

Post to Twitter Tweet This Post

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Twitter links powered by Tweet This v1.7, a WordPress plugin for Twitter.