Page 1 of 1

Another possible bug IM 7.0.5.5 Q16 with clip path

Posted: 2017-04-26T19:47:28-07:00
by fmw42
Using the TIFF clip path technique at http://www.imagemagick.org/Usage/masking/#clip-path, it seems to work well with IM 6.9.8.4, but fails with IM 7.0.5.5 Q16

IM6

Code: Select all

convert -density 150 218755504_HOV_EPS.eps -alpha transparent -clip -alpha opaque -strip out6.png
Image

IM7

Code: Select all

magick -density 150 218755504_HOV_EPS.eps -alpha transparent -clip -alpha opaque -strip out7.png
Image

However, using -alpha discrete seems to work, except it looses the transparency

Code: Select all

magick -density 150 218755504_HOV_EPS.eps -alpha discrete -clip -alpha opaque -strip out7.png
Image

Re: Another possible bug IM 7.0.5.5 Q16 with clip path

Posted: 2017-04-27T08:54:03-07:00
by magick
Try

Code: Select all

convert -density 150 -colorspace sRGB 218755504_HOV_EPS.eps -clip -strip out6.png
Does that give expected results?

Re: Another possible bug IM 7.0.5.5 Q16 with clip path

Posted: 2017-04-27T09:01:13-07:00
by fmw42
magick wrote: 2017-04-27T08:54:03-07:00 Try

Code: Select all

convert -density 150 -colorspace sRGB 218755504_HOV_EPS.eps -clip -strip out6.png
Does that give expected results?
Yes, thanks, these both work.

Code: Select all

convert -density 150 -colorspace sRGB 218755504_HOV_EPS.eps -clip -strip out6c.png
Image

Code: Select all

magick -density 150 -colorspace sRGB 218755504_HOV_EPS.eps -clip -strip out7c.png
Image

For better results, use profiles rather than -colorspace sRGB