Ed,
I'd use the ColorConvertOp. Use the constructor where you pass in the
source and dest colorspace(s). You can pick from predefined  CS_sRGB and
CS_GRAY.

Regards,
David

Ed Brown wrote:

>Can anyone help.
>
>I am loading a series of color JPEG images using the codec
>classes.
>Once loaded I wish to convert the BufferedImage to a gray-scale
>image before performing operations on it.
>
>Can anyone tell be the most straightforward way to go about this.
>
>Thanks
>Ed Brown
>
>===========================================================================
>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".
>

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