E
emp
Hello,
I am loading PNG's and the resulting BufferedImage is of TYPE_CUSTOM. I
need to convert it as drawing this type of image with Graphics2D is very
slow (at least on my machine). I am converting using
Graphics.drawImage(dest, 0, 0, null), which is very slow.
I have looked into image.getRGB() which I suspect drawImage is using, as
it is just as slow.
Anyone know a faster way? It is taking me 1 second to load the image and
1/2 a second to convert!
Thanks
-Ed
I am loading PNG's and the resulting BufferedImage is of TYPE_CUSTOM. I
need to convert it as drawing this type of image with Graphics2D is very
slow (at least on my machine). I am converting using
Graphics.drawImage(dest, 0, 0, null), which is very slow.
I have looked into image.getRGB() which I suspect drawImage is using, as
it is just as slow.
Anyone know a faster way? It is taking me 1 second to load the image and
1/2 a second to convert!
Thanks
-Ed