File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: Supported Image Types
hidden variables in an applet
Need urgent help
Help with Android Application Design
retrieve multiple images from mysql
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013