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

Add support for Sony RAW format images #159

Closed
nitika080289 opened this issue Aug 28, 2020 · 1 comment
Closed

Add support for Sony RAW format images #159

nitika080289 opened this issue Aug 28, 2020 · 1 comment
Labels

Comments

@nitika080289
Copy link
Contributor

nitika080289 commented Aug 28, 2020

No description provided.

@nitika080289
Copy link
Contributor Author

Looking at the code, I see that the tiff parser skips the CR2 format files with tiff extension. I am trying to follow the same approach, instead of adding an ARW parser. I chose this because the errors which we see are for the ARW format files with tiff extension. Skipping these would prevent the preview rendering.
The exif data for Sony ARW images contains information like SubFileType, Compression and Make, which can be used to identify if it is an ARW file. I got this idea from the exiftool which was able to identify the files correctly. I have tried this with multiple files and it worked. https://github.com/exiftool/exiftool/blob/e969456372fbaf4b980fea8bb094d71033ac8bf7/lib/Image/ExifTool/Exif.pm#L929

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant