Skip to content

Any way to get width/height/size in the correct orientation, quickly? #9115

Answered by radarhere
dseomn asked this question in Q&A
Discussion options

You must be logged in to vote

While I expect this will work for you on a practical level, on a theoretical level, I don't think we can guarantee that it will be correct without first loading the image - PNG images may contain tEXT chunks after the image data, and those tEXT chunks may contain EXIF data.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@dseomn
Comment options

@radarhere
Comment options

Answer selected by dseomn
@dseomn
Comment options

@radarhere
Comment options

@dseomn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants