The moose likes Swing / AWT / SWT and the fly likes image format from a byte array ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "image format from a byte array ?" Watch "image format from a byte array ?" New topic
Author

image format from a byte array ?

Titus Abraham
Ranch Hand

Joined: Jun 03, 2009
Posts: 36
hello ,

given a byte array is there any way we can know whats the image format ?

as i am getting data from the server in byte format only.

Best regards,
titus
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35439
    
    9
The ImageInfo class could be adapted to work with byte[], assuming it covers the formats you need to deal with.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: image format from a byte array ?
 
Similar Threads
displaying pdf image
CoreJ2Me Book examples
checking for iso 19794-4 format
Image object to png Image format
create ImageIcon from bytes[], not from file