No, it doesn't work.
The problem is that convert reads the image, does nothing, then
re-encodes the .jpg, and writes it back to disk with the correct profile.
So the image quality is (very slightly) corrupted by the re-encoding.
At last I think so; this is what I get:

-rw-rw----  1 luca luca 5.3M Dec 22 13:10 1.jpg
-rw-rw----  1 luca luca 4.6M Dec 22 13:12 1c.jpg

(1 is before, 1c after).

Gimp also seems to think that the files are (very slightly) different.

Luca

On 12/21/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> convert foo.jpg -profile sRGB.icm out.jpg

Try

  convert foo.jpg +profile "*" -profile sRGB.icm out.jpg

The +profile option strips any existing profiles.


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to