Page 1 of 1

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

Posted: 2008-01-04T12:32:15-07:00
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

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

Posted: 2008-01-04T13:40:00-07:00
by Bonzo
No it is not lossless; you can add a -quality 100 to try and keep the best quality.

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

Posted: 2008-01-04T13:42:06-07:00
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

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

Posted: 2008-01-04T13:46:24-07:00
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

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

Posted: 2008-01-07T17:17:41-07:00
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.