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