Re: [JAVA2D] Performance problem with JDK6 Update10 Build22

2008-05-13 Thread java2d
Hi Dimitri Thanks again. I use top level window transparency in my application as well, so this bug fix killed 2 bugs with 1 stone :). Great stuff!!! Thank you Java2D team for all your hard work! Running my app at 2560 x 1600 causes some slowdowns, and memory problems, but it's much better

Re: [JAVA2D] I need a way to decode an image file directly into a byte or integer array...

2008-05-13 Thread Jim Graham
Hi Ken, ImageI/O reads images into a BufferedImage which provides easy access to a Java int/byte array with the pixels. Details of pixel access for BufferedImage objects were discussed recently on this thread: http://forums.java.net/jive/thread.jspa?messageID=269294

Re: [JAVA2D] I need a way to decode an image file directly into a byte or integer array...

2008-05-13 Thread Ken Warner
Something is getting lost in the translation -- When I say directly I mean directly from the file bytes into a byte or integer array without first making an Image or a BufferedImage. *Something* like this (and I know it doesn't exist so don't get excited) int [] pixels =

Re: [JAVA2D] I need a way to decode an image file directly into a byte or integer array...

2008-05-13 Thread Jim Graham
Hi Ken, Sorry to disappoint, but without any feedback as to why the creation of a BufferedImage is a problem we are not likely to create an API like this. The existing APIs are designed for maximum usefulness to the most developers. Your requirement can be derived from the existing APIs