[JAVA2D] getting accelerated images from PNG file

2007-01-13 Thread java2d
Hi! I am developing a game. So I need fast drawing of images. I draw images to BufferStrategy. I have to use JDK5! If I read an image from a jpg file, drawing it takes about 0 milliseconds. I assume it is hardware accelerated. If I load the Image from a png file it takes about 10ms to draw it.

Re: [JAVA2D] getting accelerated images from PNG file

2007-01-13 Thread Dmitri Trembovetski
Hi Anthony, what OS is this? [EMAIL PROTECTED] wrote: Hi! I am developing a game. So I need fast drawing of images. I draw images to BufferStrategy. I have to use JDK5! If I read an image from a jpg file, drawing it takes about 0 milliseconds. I assume it is hardware accelerated. If I