• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display png images on applet

 
mani suri
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello!
I want to display images on Applet with .png extension , the gif/jpeg imagrs are displayed with no problem but when i try call a .png image it is not displayed .
any help in this regard will be appreciated .
ankur
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For some stupid reason, Sun didn't build support for PNG style graphics into the base Java libraries, so you will have to use additional libraries to do this... Suns Java Adavanced Imaging API sounds like it will do this for you http://java.sun.com/products/java-media/jai/index.html as well as some libraries by 3rd party developers... just look for Java and PNG on any search engine...

-Nate
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic