>>The only thing change in the above method is the dataBuffer, the byte[] data 
>>changes in every loop from the images from the video. The dimension is the 
>>same. Is there a way to reset the dataBuffer without the recalling new 
>>DataBufferByte(dataBuffer, width * height)? i saw a data buffer that reset 
>>the int (setInt() )in the DataBuffer class, but not a setByte method?

well, actually it was in the WritableRaster class.it is called 
setPixel(int x, int y, int[] iArray)

http://java.sun.com/j2se/1.4.2/docs/api/java/awt/image/WritableRaster.html#setPixel(int,%20int,%20int[])
 
i don't see a set byte method. 

thanks

Francis
[Message sent by forum member 'cohodetector' (cohodetector)]

http://forums.java.net/jive/thread.jspa?messageID=289565

===========================================================================
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