Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPEG Characteristics  RSS feed

 
Rob Hunter
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me how to parse a JPEG for information about it? You should be able to parse through a JPEG and extract height and width of the image but I can't find where or how to do this. Can anyone help? Thanks in advance.

Rob
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even better, let someone else's existing code do it for you: the Imageinfo class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!