We need to update the IPTC meta-data in JPGs, so we manipulate an 8BIMTEXT profile file and use 'convert' to embed it into a JPG.
This works fine, except that the new file is a bit bigger, and the image part has a different signature.
(in other words, it is re-processing the image to create a completetly new jpg)
Is there a way when generating the new file, to keep the original image part untouched (so it has the same signature), but to simply embed the 8BIMTEXT profile?
Either get it to auto detect when it does not need to re-process the image, or add a flag so that we can tell it when to skip the re-processing bit.
I suspect that a secret flag would be a 'quick win' that would solve my problem, and you could put the auto-detect thing on your future 'todo' list.
(or is their an easier way for me to achieve this?)
Kindest Regards,
Mark
Simple Feature request-Don't reprocess an image if not reqrd
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Simple Feature request-Don't reprocess an image if not reqrd
Yes it would be nice, but IM is a general image processor, and what you ask for is specific to a type of image file format. That is beyond the scope of what Im is designed for.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Simple Feature request-Don't reprocess an image if not reqrd
I suspect this feature would apply to any image format that has metadata that can be manipulated (and not just JPGs).Yes it would be nice, but IM is a general image processor, and what you ask for is specific to a type of image file format. That is beyond the scope of what Im is designed for.
I am looking into exiftool anyway (and it does look pretty good).
Although I would much rather stick with using IM, because it almost works perfectly for what I (and probably others) need.
I had spent some time refining our 8BIMTEXT file manipilator (making it work with different text encoding, etc).
Anyway, I will leave it with you. In the meantime, I will get my head around exiftool.
Thanks anyway,
Mark
Re: Simple Feature request-Don't reprocess an image if not reqrd
You have to apply the feature to any image format that has metadata that can be manipulated (and not just JPGs).