Brad Whitaker (whitaker) wrote in fotobilder,
Brad Whitaker
whitaker
fotobilder

EXIF DateTime Problem

(do dev people still read this community?)

fraserspeirs has brought it to my attention that there's a problem with writing clients which resize image before upload. The EXIF specification stipulates that whenever an image is modified, the DateTime field must be touched. As a result, clients need to do this in order to be compliant, and many libraries do it automatically after a resize.

The problem is that this changes the MD5 for the image every time. So we completely lose the effectiveness of our "already-have-image" optimization. I'm having trouble thinking of good solutions so I figured I'd post here for input.

Some options I've thought of:

* ask clients to ignore exif spec: bad idea, most wouldn't be able to since their libraries to do the work for them.

* ignore the problem: we lose the ability to keep one gpic for multiple upics (if those were auto-resized by the client on upload)... but maybe this isn't so bad because unused gpics will be cleaned?

* make a mechanism that will resize server-side after the full-image md5 is verified: this requires more overhead on our end and is slow for the user uploading a 5 megapixel image.

Bleh, thoughts? Read more in Fraser's journal:

http://www.livejournal.com/~fraserspeirs/833571.html
Subscribe

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic
  • 21 comments

  • 302: lj_dev

    In the interests of consolidating all FotoBilder development-related discussion, we're going to be closing down this community. The same…

  • Development stalled?

    Is the development of Fotobilder held? Stalled? I am asking because there is no activity on the community and there is no link to the Fotobilder…

  • (no subject)

    Does FotoBilder works with Apache2? I installed all the required modules on my debian sarge, and when I restart my apache server, it dies horribly…