my dog learned polymorphism*
The moose likes General Computing and the fly likes JPEG Characteristics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "JPEG Characteristics" Watch "JPEG Characteristics" New topic
Author

JPEG Characteristics

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
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
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
Even better, let someone else's existing code do it for you: the Imageinfo class.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: JPEG Characteristics
 
Similar Threads
How to Upload JPEG file in a server using JSP and Servlet
How do I display JPEG, crop it, display cropped JPEG and undo crop.
how to read french character from XML
How do I display JPEG, crop it, display cropped JPEG and undo crop.
drawImage to Panel