Hey, I am on an embedded platform without access to AWT. I was wondering if anyone knew of a standalone library to load images without any AWT involvement.
Thanks, Braden McDorman
Hey, I am on an embedded platform without access to AWT. I was wondering if anyone knew of a standalone library to load images without any AWT involvement.
Thanks, Braden McDorman
Perhaps AWT headless mode can help?
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
Have a look at JIMI.
http://java.sun.com/products/jimi/
Easy to work with, bought by Sun, superceeded by JAI which is not as easy to work with.
(And now the page is Oracle-branded...)
Not a standalone library and not sure what your platform offers, but you can try the javax.imageio.ImageIO (Java SE 1.4 and later).
Just use one of the read
methods to get a BufferedImage
.
I took the semi-easy way out and created a tool to convert images to RGB565 raw files. Then I have a custom loader.