Skip to content

Fix Exif thumbnail offset#333

Merged
drewnoakes merged 4 commits intomasterfrom
exif-thumbnail-offset
May 8, 2023
Merged

Fix Exif thumbnail offset#333
drewnoakes merged 4 commits intomasterfrom
exif-thumbnail-offset

Conversation

@drewnoakes
Copy link
Owner

Fixes #35

The offset is currently reported relative to the start of the Exif data. However, most users will need the value relative to the start of the outermost data stream. This change attempts to provide that value.

Should work for JPEG and RAW files. Won't work for Exif data embedded within other formats such as PNG, QuickTime, WebP or HEIF. Such support could be added in future.

drewnoakes added 4 commits May 8, 2023 11:35
The offset is currently reported relative to the start of the Exif data. However, most users will need the value relative to the start of the outermost data stream. This change attempts to provide that value.

Should work for JPEG and RAW files. Won't work for Exif data embedded within other formats such as PNG, QuickTime, WebP or HEIF. Such support could be added in future.
@kwhopper
Copy link
Collaborator

kwhopper commented May 8, 2023

This issue and others like it are mitigated through #131 as it’s embedded in the design.

It’s very old now and introduces many other changes, but decided to offer it for revival once more. Thanks.

@drewnoakes
Copy link
Owner Author

I haven't forgotten that work @kwhopper. It's a big change and requires a lot of review, especially around performance, while this is just a quick, surgical, and imperfect change.

Note to self, pick up review of:

@drewnoakes drewnoakes merged commit 0ac7d01 into master May 8, 2023
@drewnoakes drewnoakes deleted the exif-thumbnail-offset branch May 8, 2023 03:49
@kwhopper
Copy link
Collaborator

kwhopper commented May 8, 2023

Thanks. I’m happy to help with it again if it lands on your radar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reported JPEG Thumbnail Offsets are incorrect

2 participants