Width and height incorrect for exif image
jgm opened this issue · comments
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.