troubleshooting Question

Is It Possible To Get An Image In BMP Or GIF Format In Java

Avatar of talltk
talltk asked on
6 Comments1 Solution214 ViewsLast Modified:
Image Img = Toolkit.getDefaultToolkit().getImage("Monyet.bmp");
There is an error when executing this code in java. If i was to change the image to Monyet.jpg the code is able to execute. Is it possible to get the image in gif or bmp format? If it is possible. How?
Mick Barry
Java Developer
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros