Modify

Opened 9 years ago

Closed 9 years ago

#11867 closed defect (fixed)

[patch] ThumbsLoader freezes if EXIF orientation is not set

Reported by: holgermappt Owned by: team
Priority: normal Milestone: 15.09
Component: Core image mapping Version: latest
Keywords: Cc:

Description

If an image without EXIF orientation (IFD0/Orientation) is loaded and then "Show thumbnails" is selectd from the layer menu the thumbnail loader freezes. I would say it is caused by ExifReader.orientationSwitchesDimensions(null) (entry.getExifOrientation() returns null).

An example image is attached. The thumbnail must not be in the cache to see the problem.

The patch uses the EXIF orientation only if it is set.

Attachments (2)

noorientation.jpg (154.9 KB ) - added by holgermappt 9 years ago.
Image without EXIF orientation.
GeoImageLayer_noExifOrientation.patch (1.5 KB ) - added by holgermappt 9 years ago.
Fix for images without EXIF orientation.

Download all attachments as: .zip

Change History (4)

by holgermappt, 9 years ago

Attachment: noorientation.jpg added

Image without EXIF orientation.

by holgermappt, 9 years ago

Fix for images without EXIF orientation.

comment:1 by Don-vip, 9 years ago

Milestone: 15.09

comment:2 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 8765/josm:

fix #11867 - ThumbsLoader freezes if EXIF orientation is not set (patch by holgermappt)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.