nanogui: Greyscale


Previous by date: 20 Apr 2005 08:54:22 +0100 convbmp big-endian bug?, Will Hua Zheng
Next by date: 20 Apr 2005 08:54:22 +0100 Re: linefeed using DrawText, skoe.nexgo.de
Previous in thread:
Next in thread:

Subject: Greyscale
From: ####@####.####
Date: 20 Apr 2005 08:54:22 +0100
Message-Id: <7226678.1113983660714.JavaMail.ngmail@webmail-01.arcor-online.net>

Hi,

When I tried to figure out how to draw greyscales with nano-X I didn't find the right way.

Then I changed GdDrawImage to fit my needs: The case bpp = 8 and palette = 0 was commented as "JPEG without palette" (?) and a palette was calculated somewhere. I removed this and implemented a greyscale drawer. Maybe this could also be useful for other bpp <= 8 without palette, too.

What do you think, is this a useful change or is the old case really needed?

Thomas



Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1

Previous by date: 20 Apr 2005 08:54:22 +0100 convbmp big-endian bug?, Will Hua Zheng
Next by date: 20 Apr 2005 08:54:22 +0100 Re: linefeed using DrawText, skoe.nexgo.de
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.