mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-25 11:24:54 +02:00
set color reduction colorspace to that of the remap image @ https://github.com/ImageMagick/ImageMagick/issues/5731
This commit is contained in:
@@ -3626,6 +3626,7 @@ MagickExport MagickBooleanType RemapImage(const QuantizeInfo *quantize_info,
|
||||
if (cube_info == (CubeInfo *) NULL)
|
||||
ThrowBinaryException(ResourceLimitError,"MemoryAllocationFailed",
|
||||
image->filename);
|
||||
cube_info->quantize_info->colorspace=remap_image->colorspace;
|
||||
status=ClassifyImageColors(cube_info,remap_image,exception);
|
||||
if (status != MagickFalse)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user