A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Supported Image Types
Joined: Jun 23, 2004
Jul 26, 2004 07:55:00
I have a
to which I add JLables containg images, effectively allowing images to be dragged around the screen.
So far I have only been able to get GIFs and JPEGs to display - is there anywhere I can abtain a list of which image types I can use?
Joined: Jun 08, 2004
Jul 26, 2004 14:19:00
Toolkit's createImage() currently only supports GIF, JPEG, and PNG (since 1.3).
The javax.imageio package can do pretty much anything as long as you have the
installed for it.
In JRE 1.5, javax.imageio supports
JPG, PNG, BMP, WBMP, and GIF
. Prior to 1.5, neither BMP format is supported, I believe.
Joined: Jul 15, 2003
Jul 26, 2004 18:08:00
Java Advanced Imaging (JAI) gives access to many different file types such as .TIF as well. You can find information and the download at http;//java.sun.com
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Supported Image Types
hidden variables in an applet
Help with Android Application Design
retrieve multiple images from mysql
Need urgent help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013