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 = Toolkit.createPixelArray(fileBytes,...); Something like that. Notice that I don't make an Image or BufferedImage first. That's what I think would be a useful addition to the greater image
handling api.

Now to all those who are gnashing your teeth about why I don't want to use BufferedImages -- take a valium and have a beer and a ciggy -- relax
and let me live in my own little world without BufferedImages.

Jim Graham wrote:
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

            ...jim

Ken Warner wrote:

I think there is a hole in the greater Java API for working with images.

Images and BufferedImages are great if all you want to do is download
[stuff deleted]

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to