https://github.com/ImageMagick/ImageMagick/issues/463).
* The +opaque option now works on all channels (reference
https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31862).
+ * Ensure backwards compatibility for the -combine option (reference
+ https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=31855).
2017-04-24 7.0.5-5 Cristy <quetzlzacatenango@image...>
* Release ImageMagick version 7.0.5-5, GIT revision 19915:12eec43:20170424.
(void) SyncImagesSettings(mogrify_info,*images,exception);
colorspace=(*images)->colorspace;
+ if ((*images)->number_channels < GetImageListLength(*images))
+ colorspace=sRGBColorspace;
if (*option == '+')
colorspace=(ColorspaceType) ParseCommandOption(
MagickColorspaceOptions,MagickFalse,argv[i+1]);
if (LocaleCompare("combine",option+1) == 0)
{
parse=(ssize_t) _images->colorspace;
+ if (_images->number_channels < GetImageListLength(_images))
+ parse=sRGBColorspace;
if ( IfPlusOp )
parse=ParseCommandOption(MagickColorspaceOptions,MagickFalse,arg1);
if (parse < 0)
MAGICK_VERSION=7.0.5-6
-MAGICK_GIT_REVISION=19916:f1208a9:20170425
+MAGICK_GIT_REVISION=20022:5239ac0:20170509
# Substitute library versioning