-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extracting custom EXIF data from PNG files #8348
Comments
@frank690 thansk for the feature request. Can you please share what kind of exif metadata you are interested in and for what purpose? Recently, we added auto orientation from exif application to read_image to transform the input image according to existing exif info. |
You are right, EXIF data mainly stores information about the camera and/or image in their different tags. I updated the above code example to include the TIFF file-type case. |
馃殌 The feature
Being able to use torchvision.io.read_image(...) to read PNG files alongside the custom metadata stored in the exchangeable image file format (EXIF).
Motivation, pitch
I am training different deep learning models and some of them rely on custom metadata stored in EXIF inside PNG files.
Currently I have to do
but would much rather just ditch PIL.Image and do
Alternatives
No response
Additional context
No response
Edit
added case distinction between TIFF and PNG files
The text was updated successfully, but these errors were encountered: