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

method to get EXIF and PIL image data #685

Open
kba opened this issue Apr 22, 2021 · 0 comments
Open

method to get EXIF and PIL image data #685

kba opened this issue Apr 22, 2021 · 0 comments
Assignees

Comments

@kba
Copy link
Member

kba commented Apr 22, 2021

From qurator-spk/eynollah#33 (comment)

Lest I forget: It would be nice to get the image along with the exif information:

exif, img_pil = self.workspace.resolve_image_exif(page.imageFilename)

since we're opening the image anyway.

Yes, but that would be a backwards-imcompatible change of the API. How about de-deprecating resolve_image_pil and adding another kwarg exif=False which controls whether the return value should become a tuple with the OcrdExif instance as secondary value?

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

No branches or pull requests

2 participants