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

CRW Canon file support #1

Open
matrixik opened this issue Jun 16, 2020 · 3 comments
Open

CRW Canon file support #1

matrixik opened this issue Jun 16, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@matrixik
Copy link
Contributor

Hello, thank you for creating this package, it's really useful for my small image renamer.

I found that it's not finding EXIF data in CRW image. Not sure how to read first bytes of files so I'm attaching this image.

CRW_1446.zip

I also found that Darktable have list of headers, maybe it will be useful for you:

https://github.com/darktable-org/darktable/blob/2e18924ffa35128da374e1608521c909260fe26d/src/common/imageio.c#L395-L451

@evanoberholster
Copy link
Owner

evanoberholster commented Jun 17, 2020

Thanks for opening up this issue and for your sample image. CRW images are not based on Tiff Directories, therefore they have a different directory structure.

See the link below for more information on the CRW file format. https://exiftool.org/canon_raw.html

It doesn't seem too complex of a structure to implement, unfortunately I can't dedicate time to implement this now.

I would welcome a PR if you would be willing to implement this.

@evanoberholster
Copy link
Owner

I add support for identifying the CRW image type: da0d587

@evanoberholster evanoberholster added enhancement New feature or request help wanted Extra attention is needed labels Jun 19, 2020
@matrixik
Copy link
Contributor Author

I don't have time now for adding support for new formats but I found repository with RAW samples from many cameras on https://raw.pixls.us/

All are licensed with CC0 so could be used as test samples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants