Modify ↓
#14536 closed enhancement (fixed)
[PATCH] Improved ExifReader.readTime(), Refactored ImageEntry.extractExif()
Reported by: | holgermappt | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | 17.03 |
Component: | Core image mapping | Version: | latest |
Keywords: | exif | Cc: |
Description
The patch improves ExifReader.readTime()
and moves code from ImageEntry.extractExif()
to ExifReader
.
ExifReader.readTime()
:
- Use the right SUBSECOND depending on the EXIF tag that was used for the date.
Code refactoring:
- Use the
metadata
structure to extract EXIF data instead of parsing the image file multiple times. - Speed and elevation extraction moved to
ExifReader
. - Added unit tests for speed and elevation extraction.
Smaller image file for ticket 14209.
Attachments (3)
Change History (6)
by , 8 years ago
Attachment: | GeoImageLayer_ExifReader_refactoring.patch added |
---|
by , 8 years ago
Attachment: | exif-example_speed_ele.jpg added |
---|
Image file with speed and elevation data.
by , 8 years ago
Attachment: | 7VWFOryj--.1.jpg added |
---|
Smaller image file with same issue for ticket #14209.
comment:1 by , 8 years ago
Keywords: | exif added |
---|---|
Milestone: | → 17.03 |
Note:
See TracTickets
for help on using tickets.
Patch file.