Page 1 of 1

Crop image NOT preserve clipping path

Posted: 2017-05-18T00:26:43-07:00
by skido
Hi to everybody, I'm a newbie in IM and I noticed a strange behaviour in crop operation.
I'm trying to crop a jpeg image with a clipping path inside:

Code: Select all

convert bottle.jpg -gravity Center -crop 600x3200-70+0 bottle_PROCESSED.jpg
The result I would like is a cropped image with original clipping path.
The result instead is an image with modified clipping path: seems to be resampled to new dimension of the image, as you can see in attached images (clipping path is red line).

I'm working with ImageMagick 7.0.5-5 Q16 x86_64 on Mac Os X El Capitan 10.11.6

Original:
Image

Cropped:
Image

Here link to original file: https://image.ibb.co/hGA735/bottle.jpg
Here link to cropped file: https://image.ibb.co/dUADbQ/bottle_PROCESSED.jpg

Does anybody knows a way to crop image to clipping path maintaining original path?