I'm creating an image from a file:
Code:
javax.microedition.lcdui.Image imageOrig = javax.microedition.lcdui.Image.createImage("/background.png");
And then draw it on the screen in a loop:
Code:
graphics.drawImage (image, 0, 0, Graphics.TOP | Graphics.LEFT);
I receive pretty low frame rate when doing this with a png, but if i create the image from "background.bmp" the frame rate is far better. I was wondering, is it because the png decoding is done in runtime and not on the object's creation? or is it because of the added alpha channel in the png? (my image is completely opaque).
Bottom line... does the Image object keep the original formatting of the image or does it use a format of its' own??

Thanks.