convert current.jpg +profile xmp new.jpg --> lossless ?

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
motivio

convert current.jpg +profile xmp new.jpg --> lossless ?

Post by motivio »

Hi,
I'm removing the xmp information from some JPG files with the command:
"convert current.jpg +profile xmp new.jpg"

Is this a lossless action and will the new JPG file have the same quality???

Thanks and Regards,
JO

---
http://archive.motivio.eu
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: convert current.jpg +profile xmp new.jpg --> lossless ?

Post by Bonzo »

No it is not lossless; you can add a -quality 100 to try and keep the best quality.
motivio

Re: convert current.jpg +profile xmp new.jpg --> lossless ?

Post by motivio »

I think my question could be also asked like:

Do I lose quality in an existing JPG file I add or change a profile in the file?

JO
motivio

Re: convert current.jpg +profile xmp new.jpg --> lossless ?

Post by motivio »

Bonzo wrote:No it is not lossless; you can add a -quality 100 to try and keep the best quality.
Is there any other way to remove the XMP profile and not losing quality in the JPG file?

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

Re: convert current.jpg +profile xmp new.jpg --> lossless ?

Post by anthony »

Not in ImageMagcik. Image Magick is a raster image processor, NOT a profile processor.

Try looking at programs like jhead and such which are designed to modify profiles without decoding/encoding the image raster data.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply