I am resizing some images having clipping paths using convert -resize option.
On some of them (not all, didn't manage to find a pattern) I receive the following errors in photoshop when trying to open them:
"This document contains Adobe Photoshop data which appears to be damaged. Continue and ignore the Photoshop data?"
answering yes, I get
"Could not complete your request because of a problem parsing the path data."
and the image doesn't load.
All images are in jpg format.
Any ideas ?
Photoshop errors
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Photoshop errors
Note that clipping paths is image meta data that is only understood by a few operations in IM.
Resize is not one of those operations.
As such when you resized your images, the clipping path was not resized. More than likely Photoshop then sees coordinates in the clipping path that go beyond image bounds, and that make it think the image is corrupt.
Best idea is to remove the profile containing the clipping path from the image.
Resize is not one of those operations.
As such when you resized your images, the clipping path was not resized. More than likely Photoshop then sees coordinates in the clipping path that go beyond image bounds, and that make it think the image is corrupt.
Best idea is to remove the profile containing the clipping path from the image.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/