Closed (fixed)
Project:
ImageMagick
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Aug 2016 at 18:07 UTC
Updated:
2 Sep 2019 at 10:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mondrakeHi @yobottehg
I think that this should rather live as an image effect / image toolkit operation of its own. This way people could add a 'Coalesce' image effect to their image styles indipendently - you may want to do this also outside of resizing/scaling.
For that purpose, this is not the right place, as quoting myself from the module's home page
This could very well live in the Image Effects module. I'll be happy to review any patch over there.
Comment #3
mondrakeComment #4
mondrakeComment #5
luksakI needed that functionality for a current project and re-rolled the patch.
May I question that decision to not include this in ImageMagick? Or has this been solved somewhere else by now?
Comment #6
mondrakeSee #2949193-2: ImageMagick scale breaks animated gifs (D8) and #1802534-33: ImageMagick scale breaks animated gifs.
However, I see this is a recurring request. I think it would be acceptable to have a setting in the 'Advanced image settings' that would allow to opt-in in a coalesce operation. Note that I believe the
-coalesceargument should be added as the beginning of the arguments list (i.e. before any argument added by image toolkit operations), so somehow as part of the implementation ofimagemagick_imagemagick_arguments_alterinimagemagick.module.Patches welcome for the 8.x-3.x branch, for later porting to 8.x-2.x.
Comment #7
mondrakeComment #8
Chris Charlton+1
Comment #9
mondrakeHere's a patch along the lines of #6. A new advanced setting is added to the image toolkit 'advanced' settings UI form; this allows to opt-in into a '-coalesce' operation anytime a multi-frame (Animated) GIF file is detected. The '-coalesce' argument is prepended to the other arguments so that any operation can rely on the dimensions of the frames to be consistent. Single-frame GIFs and other formats are not subject to the coalescence.
Comment #11
mondrakeCommitted to 8.x-3.x
Comment #12
mondrakeCommitted to 8.x-3.x