nanogui: PNG support


Previous by date: 18 Sep 2002 19:44:47 -0000 PNG Support, Fabrice Gautier
Next by date: 18 Sep 2002 19:44:47 -0000 the difference between GR_SCREEN_INFO->vs_width and GR_SCREEN_INFO->ws_width ??, lucksender.sohu.com
Previous in thread: 18 Sep 2002 19:44:47 -0000 PNG Support, Fabrice Gautier
Next in thread: 18 Sep 2002 19:44:47 -0000 Re: PNG Support, Fabrice Gautier

Subject: Re: [nanogui] PNG Support
From: Jordan Crouse ####@####.####
Date: 18 Sep 2002 19:44:47 -0000
Message-Id: <20020918133612.269b2cc0.jordanc@censoft.com>

The image will be appropriately converted to the correct bit depth when it is written to the screen, so we maintain an internal representation of 24 bits for simplicity.

In your case, you may see an issue, depending on how well Microwindows and the PNG library match your colors. The PNG library is intelligent enough to understand the palletized entries, so even though we are in 24 bit mode, the colors should still stay true.  However, when we actually draw the image, the colors will be matched to the internal Microwindows palette which may or may not have the correct colors.   At 8 bit depth, you should be OK, but be prepared for colors to be a bit off from what you expected.

Jordan

On Wed, 18 Sep 2002 11:57:03 -0700
Fabrice Gautier ####@####.#### wrote:

> Hi,
> 
> It seems that PNG images are always decoded as 24bpp images. Am i right or
> did i missed something?
> 
> Since I only have 8 bit display, and I use only 8bpp palletized PNG I'd
> rather have then as 8bpp images...
> 
> 
> -- 
> Fabrice Gautier, 
> ####@####.####
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
> 
> 

Previous by date: 18 Sep 2002 19:44:47 -0000 PNG Support, Fabrice Gautier
Next by date: 18 Sep 2002 19:44:47 -0000 the difference between GR_SCREEN_INFO->vs_width and GR_SCREEN_INFO->ws_width ??, lucksender.sohu.com
Previous in thread: 18 Sep 2002 19:44:47 -0000 PNG Support, Fabrice Gautier
Next in thread: 18 Sep 2002 19:44:47 -0000 Re: PNG Support, Fabrice Gautier


Powered by ezmlm-browse 0.20.