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

please add CR3(BMFF) "CRAW" read support to get bigger preview image #2854

Open
wbzqe opened this issue Nov 30, 2023 · 3 comments
Open

please add CR3(BMFF) "CRAW" read support to get bigger preview image #2854

wbzqe opened this issue Nov 30, 2023 · 3 comments
Labels
help wanted request feature request or any other kind of wish

Comments

@wbzqe
Copy link

wbzqe commented Nov 30, 2023

please add crw tag "JpgFromRaw" support to get bigger preview image for cr3 image

exiv2 process crw tag ThumbnailImage 0x2008

according to exiftool, the tagid of the full size preview image for CRW is 0x2007 canon_raw

Thank you very much for your help

@wbzqe wbzqe added the request feature request or any other kind of wish label Nov 30, 2023
@kmilos
Copy link
Collaborator

kmilos commented Nov 30, 2023

exiv2 -pp and exiv2 -ep can already extract the 0x2007 preview via these Exif.Image2 tags and is thus exposed through the standard preview API. Does that cover your needs?

@wbzqe
Copy link
Author

wbzqe commented Dec 6, 2023

@kmilos Thank you very much for your reply, but I found that my CR3 file cannot read the preview image "0x2007" of CRW decoder because CR3 uses BMFF decoder parseCr3Preview only get small size of preview image (usually 1620 * 1080)

@kmilos
Copy link
Collaborator

kmilos commented Dec 6, 2023

Ok, so nothing to do w/ CRW actually... You want the full size JPEG from CR3 mdat: https://github.com/lclevy/canon_cr3

Currently only THMB and PRVW are read.

@wbzqe wbzqe changed the title please add crw tag "JpgFromRaw" support to get bigger preview image for cr3 image please add CR3(BMFF) "CRAW" read support to get bigger preview image Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted request feature request or any other kind of wish
Projects
None yet
Development

No branches or pull requests

2 participants