Thomas, An alternative procedure would be to use this formula
Y = 0.299R + 0.587G + 0.114B with the BandCombineOp http://java.sun.com/j2se/1.5.0/docs/api/java/awt/image/BandCombineOp.html to generate the grayscale data as the luminance component of the RGB samples. This avoids using ColorConvertOp altogether. Brian On Mon, 16 Jan 2006, Thomas Weber wrote:
Hi again, I already posted out two weeks ago about a crash of the whole VM while im converting color JPEGs into grayscale. Now i tried it again on only one camera and it worked out fine, but right at the moment i turn on the second cam it crashes and keeps crashing every 20 to 30 minutes. So the simultaneous processing of several images is the reason for the crashes, but why? How can i convert up to ten or more images at the same time? thanks in advance Thomas
---------------- Brian Burkhalter Java Media, Imaging, and Graphics Sun Microsystems, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =========================================================================== 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".