Closed (won't fix)
Project:
ImageMagick
Version:
7.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2012 at 04:23 UTC
Updated:
27 Apr 2012 at 09:54 UTC
I had switched from GD to ImageMagick to get a better image quality for my photo styles. I've used ImageMagick in the past and expected great results. A few random samples looked good.
Come to find out that it didn't compress image styles like expected.
For example, on a 6.6MB photo uploaded by a user it generates a 130x86 thumbnail that is 69kb!!!
The same thumbnail generated with GD is 4kb and smush.it says it should be 3.8kb.
Jpeg quality is set to standard 75%
Any idea what's wrong?
thanks
UWE
Comments
Comment #1
mototribe commentedwow, turns out that the EXIF data is the culprit: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20296
using the identify -verbose option on my image showed that the EXIF was 65kb. With the -strip option added it dropped down to the 4kb it should be.
I'll hardcode the -strip into the module so I can regenerate the image styles - only 600,000 in total ;-)
Comment #2
teezee commentedIn the ImageMagick Advanced module for Drupal 7 an effect for 'strip' is available. This could help you get meta-data stripping done without patching. By the way, when you use strip, all EXIF, IPTC, XMP data is removed, including color profiles. So ImageMagick Advanced might be another help because you can supply color space converting (sRGB).