it is possible ... but messy. you'd have to write a program that can process the jpeg (jfif) file structure and replace the profile.
I have written a similar program "JPEG & PNG Stripper" (http://www.steelbytes.com/?mid=30) that can remove profiles* and other uselss metadata from jpeg (and png) files. *if the profile is sRGB then removing it won't hurt as that is what most progs will assume when load an image without a profile embedded. Louis Solomon www.SteelBytes.com ----- Original Message ----- From: "Guillaume Dargaud" <[EMAIL PROTECTED]> To: <lcms-user@lists.sourceforge.net> Sent: Friday, June 29, 2007 6:03 PM Subject: [Lcms-user] Substituing a profile in a jpg file > Hello all, > this is probably an elementary question, but how do you substitute a > profile > in a JPG file without touching the bits ? > > If I do: > jpegicc -i$AdobeICC -o$AdobeICC Input.jpg Output.jpg > The file gets recompressed > > I also tried > jpegicc -n -o$AdobeICC Input.jpg Output.jpg > > The reason I want to do that is that my files contain AdobeRGB profiles > that > are not recognised by some apps. I want to substitute with another similar > profile that _is_ recognised, without changing anything else (exif info, > bits...) > > Thanks > -- > Guillaume Dargaud > http://www.gdargaud.net/ > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Lcms-user mailing list > Lcms-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lcms-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user