View Single Post
Jason404's Avatar
Posts: 70 | Thanked: 11 times | Joined on Sep 2009 @ London, UK
#48
Originally Posted by linuxeventually View Post
I just sorta had a thought. Does anyone what EXIF data the cameras seem to support?

I ask because I am wondering if portrait orientation EXIF data is out of the question.

The accelerometer determines if it is held in as portrait/horizontal (0 or 1) and writes this to the EXIF properties, and then an image viewer could recognize this and rotate it as needed/desired.

Additionally I think this feature, should it exist, should be enable/disable optional as I can see it annoying certain people.
I do not know how the camera works in the N900, but having a jpeg image rotated automatically from EXIF data is not as simple as that, as far as I understand, because of how jpeg compression works.

For example, even in Photoshop, if you rotate a jpeg, you incur quality loss, as Photoshop is not capable of lossless rotation of jpegs.*

So I think the camera app will have to be able to jpeg compress the image in portrait/landscape mode at that moment, depending on what the accelerometer is telling it, if image quality is to be kept as well as it could be.

* - actually, I am not sure if this is still the case, as I am in the habit of converting images to a lossless format before working on them.

Last edited by Jason404; 2009-09-24 at 23:26.