On Fri, 19 Oct 2018, Beauregard, Christophe (EC) wrote:
Package: libgraphicsmagick-q16-3 Version: 1.3.30+hg15796-1~deb9u1 Severity: important Somewhere in between GraphicsMagick 1.3.28 and 1.3.30, there was an internal API change which introduced case sensitivity into magick formats. Command-line tools seem to work, as do perl API's, but low-level WriteImage() calls that assume on case-insensitivity are now broken. Test case program (which is just the first GraphicsMagick API demo program with a single line added to set image->magick to "gif"):
My guess is that this is a problem in OpenModule() in static.c where the comparisons between ModuleAliases[index].magick and module are definitely case-sensitive. This guess assumes that the Debian build of GraphicsMagick is not a "modules" build so this code would be active. The problem would have been introduced by changeset 1330 "Use a lazy-loader for static modules".
Regardless, I plan to have an upstream fix for this tomorrow. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/