As I haven't got any reponse, in the gamedev.net forums, I'm going to
paste my question here.
-------
This is maybe a stupid question, but I don't feel like using my whole
day digging the Java2D API refernce. So what's the fastest and simplest
way to turn an Image into an ImageProducer, so that I could manipulate
myself.
The problem is that some of the images are changing, and I have to turn
Images into inta rrays or something very quickly. Is there any way to
simply make your array point directly to the image object so that I
could quickly write pixels into it, or do I have to make a copy of an
Image pixel by pixel into an array. Doing this would produce extra I/O,
and that would hurt performance seriously.
I haven't really been doing any extensive graphics programming in java,
I've been doing everything relating to graphics in C & asm, so if
someone could help me I'd appreciate it.
Thanks in advance
Edvard Fagerholm
===========================================================================
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".