Another possible bug IM 7.0.5.5 Q16 with clip path

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Another possible bug IM 7.0.5.5 Q16 with clip path

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Another possible bug IM 7.0.5.5 Q16 with clip path

Post by magick »

Try

Code: Select all

convert -density 150 -colorspace sRGB 218755504_HOV_EPS.eps -clip -strip out6.png
Does that give expected results?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Another possible bug IM 7.0.5.5 Q16 with clip path

Post 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
Post Reply