Clipping Path Name property name disappears in converted TIFF file

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Prasad520
Posts: 9
Joined: 2016-05-13T00:35:34-07:00
Authentication code: 1151

Clipping Path Name property name disappears in converted TIFF file

Post by Prasad520 »

Hello All

I'm new at using IM and have a scenario which I got stuck.

I need to convert images ( from any format ) to TIFF.I m using below IM command

"convert -set -units PixelsPerInch -auto-orient -intent Perceptual -black-point-compensation [SourceFile] -resample [Dpi] -resize 2480x -resize x2480> -crop 2480x2480+0+0 +repage -strip [OutputFile]"

After conversion, in the output file, the clipping path name property gets disappeared.

When I remove “-strip” switch from above command, clipping path name property is included in the converted output TIFF file but image is broken when trying to preview in PS.

Can anyone help me to sort/suggest an approach, how to include the clipping name property in the output TIFF file without breaking image in PS.

IM Version: ImageMagick 6.8.8-6 Q16 x86_64 2014-02-17

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Clipping Path Name property name disappears in converted TIFF file

Post by fmw42 »

What is -set in there for? It is not setting anything!
Prasad520
Posts: 9
Joined: 2016-05-13T00:35:34-07:00
Authentication code: 1151

Re: Clipping Path Name property name disappears in converted TIFF file

Post by Prasad520 »

Hi,

Thanks for your prompt reply.

Yes, "-set" switch is not setting anything there. I have removed -set and ran the command but still facing same issue, clipping path name is not included in the output file using -strip switch..

Can you please suggest that is there any way that we can include clipping path name property in the output TIFF file ( along with using -strip switch ).

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Clipping Path Name property name disappears in converted TIFF file

Post by fmw42 »

When you do -strip, all meta data is removed. I know nothing about saving clipping paths without the clipping path. So this will need to be answered by one of the Imagamagick Developers.
Post Reply