clipping path not applied on a CMYK eps

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
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

clipping path not applied on a CMYK eps

Post by kriks »

Hi,

the files :
http://www.pingroom.net/103358_RGB.eps
http://www.pingroom.net/103358_CMYK.eps

we just discovered that with a simple :

Code: Select all

convert 103358_CMYK.eps -colorspace RGB -resize 190x180 103358.png
the background stays white.

but the same with a RGB eps works well (background transparent).

versions:
IM v6.5.1
GS v8.64

thanks for having a look
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: clipping path not applied on a CMYK eps

Post by magick »

Clipping requires the -clip option to apply a clipping mask otherwise its ignored.

Try this command to generate an alpha channel for your CMYK EPS image file:
  • convert -colorspace RGB 103358_CMYK.eps -resize 190x180 103358.png
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: clipping path not applied on a CMYK eps

Post by kriks »

thank you, it works like this, but I don't understand the difference.

Why changing the position on -colorspace makes this work ?

Also, we use it with magickwand for php, how to get the same result with it?
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: clipping path not applied on a CMYK eps

Post by kriks »

up :?
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: clipping path not applied on a CMYK eps

Post by kriks »

please, can you tell me how to achieve this with magickwand, I can't get it to work :(
Post Reply