Modify

Opened 12 years ago

Closed 2 years ago

#8189 closed enhancement (duplicate)

Support for rotation of images by EXIF tags.

Reported by: harald@… Owned by: harald@…
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:

  1. 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.)
  2. Calculate size of image to read into memory buffer.
  3. Read image into memory.
  4. Rotate the image in memory according to EXIF data.

Attachments (0)

Change History (7)

comment:1 by bastiK, 12 years ago

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.

comment:2 by Don-vip, 12 years ago

Owner: changed from team to harald@…
Status: newneedinfo

comment:3 by Don-vip, 12 years ago

Resolution: needinfo
Status: needinfoclosed

comment:4 by skyper, 4 years ago

Resolution: needinfo
Status: closedreopened

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 skyper, 4 years ago

Component: Core imageryCore image mapping
Keywords: Image removed

comment:6 by richlv, 4 years ago

Perhaps can be merged with #20487?

in reply to:  4 comment:7 by taylor.smock, 2 years ago

Resolution: duplicate
Status: reopenedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain harald@….
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.