Hi all:

In my project I need to access the grayscale value of an image.
Assume the image is grayscaled, how would I access the gray data?
Do I need to getRGB() then getRed(), getGreen(), getBlue()? Since
it is gray scale image, I would expect there is a getGrayscale().
But I could not find such a method in the document.

If the image is colored, I need to convert it to grayscale.
There is no problem for that. However, if the image is already
a grayscale one, after I converted it, it became dark and the rgb
values are smaller. Can anyone help me to solve this puzzle?

Thanks,

Mike
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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