nanogui: PNG support
Subject:
Re: [nanogui] PNG Support
From:
Jordan Crouse ####@####.####
Date:
24 Sep 2002 14:36:41 -0000
Message-Id: <20020924082721.2827ccda.jordanc@censoft.com>
The default Microwindows internal representation is 24 bits - which is much easier for us to handle - you can easily read the RGB values, and you can easily convert it to other formats. All the image formats are converted to 24 bit format, which are then re-converted in devdraw.c:GdDrawImage().
I know that it may be overkill to take an 8 bit image, converted it to 24 bits, and then reconvert it to 8 bits, but that actually contributes to the simplicity and size of Microwindows. Can you imagine handling converting 1, 2, 4, 8, 16, and 24 bit images to one another? Thats 5 times as many conversion routines than we have right now.
Jordan