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

Wrong image size reported for Fuji raf #755

Closed
astippich opened this issue Mar 24, 2019 · 2 comments · Fixed by #810
Closed

Wrong image size reported for Fuji raf #755

astippich opened this issue Mar 24, 2019 · 2 comments · Fixed by #810

Comments

@astippich
Copy link

Exiv2 reports wrong image width and height for Fuji Raf files. Looking at the code, this is because it returns "Exif.Photo.PixelXDimension"/"Exif.Photo.PixelYDimension" for width/height, which is obtained from the embedded JPEG, which is not the size of the raw image.

@boardhead
Copy link
Collaborator

Determining the size of the RAW image in a RAF file is difficult. Models are inconsistent in how they store this information. It is possible to obtain a consistent size for the image including black borders, but difficult to consistently deduce the final cropped image size.

@boardhead
Copy link
Collaborator

Ah. Iliah Borg has just informed me that FujiFilm RAF tag 0x0111 gives the raw image cropped height and width as two 16-bit integers. I'll add decoding of this tag to ExifTool, and use it in the Composite ImageSize determination.

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

Successfully merging a pull request may close this issue.

2 participants