Reading PNG file: BitmapFactory vs ImageIO
I'm trying to read and modify a png image using ImageIO, and read it as a drawable resource in Android. Now the java code looks like this: BufferedImage im = ImageIO.read(new File(inFilePath));