🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.swing
1 messages
1 total messages Started by Hakan Mon, 14 Mar 2005 09:17
Displaying gray image from pixels
#593
Author: Hakan
Date: Mon, 14 Mar 2005 09:17
13 lines
1254 bytes
Hello all

I have color values for a grey image all <= 255. I want to
display them correctly on a panel. I do display them but
the colors don't look as they should. Does anyone know
how to display them correctly? Which classes do I need to use 
(DataBuffer, ColorModel, Raster, etc) Does anyone have a sample 
code for it?

Thanks in advance.

Hakan
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads