Opened 12 years ago
Closed 2 years ago
#8189 closed enhancement (duplicate)
Support for rotation of images by EXIF tags.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core image mapping | Version: | latest |
Keywords: | rotation EXIF tag | Cc: |
Description
My camera doesn't rotate all images correctly, and I believe this to be fairly common.
Result is I end up rotating some images after import to my computer. My preferred way of doing that is by only changing the rotation settings in the images EXIF data. (I use Shotwell for this, but it's a very common way to do it.)
It's very quick, avoids rewriting (and degradation of) the jpeg file, and most importantly it keeps the GPS EXIF tags (no problem).
Downside is, Josm doesn't read or use the EXIF tag for image rotation, making my images look like they weren't rotated at all. I need to use an extra image viewer to see those properly.
The update should be fairly easy. It needs to do something like this:
- Read image data such as size, rotation and GPS position. (The library for reading gps position can be extended to read rotation from EXIF data.)
- Calculate size of image to read into memory buffer.
- Read image into memory.
- Rotate the image in memory according to EXIF data.
Attachments (0)
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:3 by , 12 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
follow-up: 7 comment:4 by , 4 years ago
Resolution: | needinfo |
---|---|
Status: | closed → reopened |
I sometime have no or wrong information if my GPS is not fixed right after booting or taking pictures in a tunnel. Lying on the ground and taking pictures to the sky like a vertical wall/cliff can produce wrong information.
Have to take a look if I find one where I have not yet set the proper orientation.
comment:5 by , 4 years ago
Component: | Core imagery → Core image mapping |
---|---|
Keywords: | Image removed |
comment:7 by , 2 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Closed as duplicate of #13915.
Replying to skyper:
I sometime have no or wrong information if my GPS is not fixed right after booting or taking pictures in a tunnel. Lying on the ground and taking pictures to the sky like a vertical wall/cliff can produce wrong information.
Have to take a look if I find one where I have not yet set the proper orientation.
The reopened ticket is a duplicate with #13915: Allow rotating images.
Image rotation by EXIF tag is supported. Please update to the most recent tested version and append the image here if it still doesn't work.