Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RBT-274 Load process rearranged #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mikhail-iurkov
Copy link

@mikhail-iurkov mikhail-iurkov commented Jan 24, 2022

Description

#5 (review)

  • extract_tiff_data - Extracts TIFF bytes from given image (was _ExifReader factory method)

  • TiffReader - Reads IFD from bytes (_ExifReader, with non-tag agnostic parts moved to ExifLoader)

  • ExifLoader - Assembles EXIF by IFDs . Filters known tags, coerces values (tag dependent parts of ExifLoader + load)

  • load - wrapper around ExifLoader and extract_tiff_data

Changed read_unknown=True - now it's returned same way as known tags. Tags with unknown type are discarded anyway.

Checklist

@mikhail-iurkov mikhail-iurkov changed the title Load rearranged Load process rearranged Jan 24, 2022
@mikhail-iurkov mikhail-iurkov requested a review from homm January 25, 2022 08:51
@homm homm changed the title Load process rearranged RBT-274 Load process rearranged Jan 25, 2022
Base automatically changed from fix/RBT-274 to master February 1, 2022 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant