You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Stefano Fornari <st...@gmail.com> on 2011/02/28 16:45:28 UTC

[sanselan] Writing JPG/Exif

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