commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Fornari <stefano.forn...@gmail.com>
Subject [sanselan] Writing JPG/Exif
Date Mon, 28 Feb 2011 15:45:28 GMT
Hi All,
I want to achieve the following goal:

- shot a picture with a Canon EOS camera
- download the JPG
- modify the JPG
- upload it back into the camera

It seems straightforward but the camera does not recognize the
modified file. I believe it is because the camera generates JPEG/Exif
images, while when saving from another program (e.g. GIMP) it saves it
as a JPEG/JFIF.

Here is the result of the first bytes of an image from the camera:

FF D8 FF E1 36 78 45 7 69 66 00 00

And here it is after just saving it with GIMP

FF D8 FF E0 00 10 46 49 46 00 01

Does anyone know if this assumption is correct? Is it possible to save
a JPEG/Exif with sanselan?

Thanks a lot in advance.
-- 
Ste

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message