A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
image format from a byte array ?
Titus Abraham
Ranch Hand
Joined: Jun 03, 2009
Posts: 36
posted
Jun 15, 2009 16:48:01
0
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
posted
Jun 15, 2009 23:18:50
0
The
ImageInfo class
could be adapted to work with byte[], assuming it covers the formats you need to deal with.
Android apps
–
ImageJ plugins
–
Java 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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter