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

Width and height incorrect for exif image #195

Open
jgm opened this issue Dec 14, 2020 · 0 comments
Open

Width and height incorrect for exif image #195

jgm opened this issue Dec 14, 2020 · 0 comments

Comments

@jgm
Copy link

jgm commented Dec 14, 2020

decodeImageWithMetadata returns the following metadata for this image (see jgm/pandoc#6936).

,Width :=> 4608
,Height :=> 3456
,Exif (TagUnknown 40963) :=> ExifLong 2539
,Exif (TagUnknown 40962) :=> ExifLong 4537

These unknown exif tags correspond to Exif Height and Width respectively. I think they should be used for Width and Height for exif images. At any rate, this is the width and height returned by macos preview, jpeginfo, and other tools. I am not sure where JuicyPixels is getting this Width and Height.

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

No branches or pull requests

1 participant