[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-user
Subject:    [sanselan] Writing JPG/Exif
From:       Stefano Fornari <stefano.fornari () gmail ! com>
Date:       2011-02-28 15:45:28
Message-ID: AANLkTi=d6uBmtUvCg-nvbVkX7qt5WuDfTPLC8XGCJk-S () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic