Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Changing the jpg image quality in the change file format action doesn't seem to have any effect; the default image compression of 75% (or whatever you happened to set it to) always seems to take precedence.
Comments
Comment #1
cybis CreditAttribution: cybis commentedFor this functionality to work properly, #924304: Allow presets to override JPEG quality setting #5 patch needs to be applied to ImageAPI. It hasn't been rolled into ImageAPI-7.x-1.x-dev AFAIK.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedWell that's a bummer. I seem to be running into a lot of modules that are being held up by core patches not getting accepted.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commentedWell that's a bummer. I seem to be running into a lot of modules that are being held up by core patches not getting accepted.
Comment #4
cybis CreditAttribution: cybis commentedThe above mentioned patch is for ImageAPI, not Drupal core. This functionality was only recently introduced to ImageCache Actions and only currently in the dev release. It’s understandable the two modules might be slightly out of sync in their development. It shouldn’t too long before ImageAPI rolls the patch in their dev release; in the mean time the above patch should work.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedIndeed, you are correct. Apologies; next time I'll look a little closer at the attached issues. :o) Thanks for the info.
Comment #6
marcoka CreditAttribution: marcoka commentedi am looking around too. what i dound out so far is that the patch is not in d7 version at the moment.
edit: the latest 7x-1 dev has the quality field.
it can be implemented using imagemagick
see #1350576: D7 imagemagick info
Comment #7
marcoka CreditAttribution: marcoka commentedthe patch is for d6. in d7 there is no imageapi to be pacthed. any news on this feature in the d7 version?
Comment #8
fietserwinQuality was completely ignored. I fixed this, but was only able to do so for the imagemagick toolkit. The GD toolkit does not allow to intervene in the quality setting. This should be reported as an issue in the Drupal core queue (if not already existing). Please note that the quality setting can equally well be used for the PNG format (imagemagick only as well), so I also changed the description.
Comment #9
fietserwinCross linking issues:
Imagemagick toolkit: #1415560: Custom image quality support
Drupal core: #1310452: Allow to override the image toolkit's global JPEG/PNG quality value
Comment #10
marcoka CreditAttribution: marcoka commentedand so far i submitted a patch for the "imagemagick module" by "sun" too.