Page 1 of 1

Clipping path and crop or rotate

Posted: 2007-12-18T07:57:46-07:00
by Thomas.Freitag
I wonder if nobody has the same problem as I, but I can't find anything about it: I have a jpeg image with a clipping path. convert recognize it correctly and can work with it. But if I try to crop the image or rotate it, the clipping path is left unchanged, so the path in the resulting image can not be used anymore.

Best regards,
Thomas

Re: Clipping path and crop or rotate

Posted: 2007-12-21T00:36:43-07:00
by anthony
This is true for just about any and ALL image operations.

IM is a raster image manipulator, it was never designed with clipping paths in mind so no operators that is not directly involved with clipping paths deal with clipping paths.

Re: Clipping path and crop or rotate

Posted: 2007-12-21T06:50:16-07:00
by Thomas.Freitag
That's not what I like to hear :? , but if it is so, then clipping paths should at least be removed in the resulting image, because they are not only useless, but definitly wrong!

Re: Clipping path and crop or rotate

Posted: 2007-12-23T05:00:45-07:00
by anthony
That is true, but may be tricky to do, as it would require modifications to a huge number of routines. However it may be posible to add an option to remove the clipping path. It may already even be posible using the +profile operator. I'm just not certain, as I don't know much about the clipping path in the image formats, not yet in any case.