Preserving IPTC data when using ImageMagick to resize images

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
jbeall
Posts: 3
Joined: 2012-03-28T09:55:47-07:00
Authentication code: 8675308

Preserving IPTC data when using ImageMagick to resize images

Post by jbeall »

Hi,

We have some software that uses ImageMagick to resize images "on-the-fly" for customers. Customers purchase stock photography, and they pay for a certain size image (higher resolution versions of an image are more expensive).

We discovered that the IPTC metadata on the source TIF images are not in the TIF images that are delivered to customers. Is there a way to resize an image with ImageMagick and preserve the IPTC metadata? It seems like there should be, but so far I haven't been able to determine the method.

Thanks!

-Josh
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Preserving IPTC data when using ImageMagick to resize im

Post by anthony »

IM should not typically touch or modify profiles at all, unless you ask it to strip the profile.

So what command ar you using?

NOTE: -thumbnail is a resize with an implied -strip operation.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply