Simple Feature request-Don't reprocess an image if not reqrd
Posted: 2009-10-20T08:33:02-07:00
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
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