posted 15 years ago
Trying to load an image from file and draw it in a JPanel. Just seems to draw a black rectangle instead of the image.
It's a gray scale image, so I thought I could use BufferedImage.TYPE_BYTE_GRAY, i'm not going to be working in color anyway. I will just be lowering the gray scale value from 256 down and evaluating image quality.
Thanks in advance for any help.
[ November 06, 2008: Message edited by: Edmond Corrola ]
[ November 07, 2008: Message edited by: Edmond Corrola ]