convert png with transparency to eps3 file, -compress zip
Posted: 2015-08-10T09:26:01-07:00
hi,
I've encountered two bugs in convert, version 6.8.9-10, the first one is converting a png with an alpha channel to an eps file:
convert: unable to zip-compress image `200x200-alpha.eps' @ error/compress.c/ZLIBEncodeImage/1295.
it uses -compression zip for default. In coders/ps3.c around line 587 there is one line missing:
Greetings,
Chris
I've encountered two bugs in convert, version 6.8.9-10, the first one is converting a png with an alpha channel to an eps file:
Code: Select all
utilities/convert 200x200-alpha.png eps3:200x200-alpha.eps
it uses -compression zip for default. In coders/ps3.c around line 587 there is one line missing:
Code: Select all
case ZipCompression:
{
status=SerializeImageChannel(image_info,mask_image,&pixel_info,&length);
if (status == MagickFalse)
break;
pixels=(unsigned char *) GetVirtualMemoryBlob(pixel_info);
^^^^^^^^^^^^^^^^
status=ZLIBEncodeImage(image,length,pixels);
pixel_info=RelinquishVirtualMemory(pixel_info);
break;
}
Chris