Need help on images with Java

Started by
3 comments, last by wiseduck 18 years, 5 months ago
Hi there! I want do make an app that loads a BMP, JPEG or PNG and converts it to an old computer screen format (MSX computer). And I want to use Java. But I couldn't find out how to load a image file that would grant me access to every pixel of the image (as if it was an int[][]). Anyone can help me?
Advertisement
Load it into a BufferedImage, then get the raster. From the raster you have the data you need.
BRING BACK THE BLACK (or at least something darker)
Well, it may sound very lazzy or dumb of me, but I really couldn't find out how to load a image file to a BufferedImage. Any insights, plz?
javax.imageio.ImageIO API Link
BRING BACK THE BLACK (or at least something darker)
Nice, thanks man!

This topic is closed to new replies.

Advertisement