Page 1 of 1

clipping path not applied on a CMYK eps

Posted: 2009-04-20T09:01:12-07:00
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

Re: clipping path not applied on a CMYK eps

Posted: 2009-04-20T11:04:16-07:00
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

Re: clipping path not applied on a CMYK eps

Posted: 2009-04-21T00:22:54-07:00
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?

Re: clipping path not applied on a CMYK eps

Posted: 2009-04-24T01:16:58-07:00
by kriks
up :?

Re: clipping path not applied on a CMYK eps

Posted: 2009-05-05T07:05:20-07:00
by kriks
please, can you tell me how to achieve this with magickwand, I can't get it to work :(