nanogui: PNG support


Previous by date: 19 Sep 2002 18:47:46 -0000 Re: the difference between GR_SCREEN_INFO->vs_width and GR_SCREEN_INFO->ws_width ??, Greg Haerr
Next by date: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr
Previous in thread: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr
Next in thread: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr

Subject: RE: [nanogui] PNG Support
From: Fabrice Gautier ####@####.####
Date: 19 Sep 2002 18:47:46 -0000
Message-Id: <B1F6452C89AFD411AE0800A0CC734C239DBD2E@EMAIL1>

> -----Original Message-----
> From: Greg Haerr ####@####.####
> Sent: Thursday, September 19, 2002 10:20 AM
> To: Fabrice Gautier; Nanogui (E-mail)
> Subject: Re: [nanogui] PNG Support
> 
> 
> : It seems that PNG images are always decoded as 24bpp 
> images. Am i right or
> : did i missed something?
> 
> Yes, they're decoded as 24bpp, but will be converted to your
> 8bpp display by engine/devdraw.c::GdDrawImage().

> : 
> : Since I only have 8 bit display, and I use only 8bpp 
> palletized PNG I'd
> : rather have then as 8bpp images...
> 
> It shouldn't make that much difference, are you looking for an
> image structure that carries it's own palette?

My PNGs are indeed 8bit and carry their own palette, i think libpng output 8
bit data, but nano-X thinks it's 24 bits RGB.

 Regards,

-- Fabrice

Previous by date: 19 Sep 2002 18:47:46 -0000 Re: the difference between GR_SCREEN_INFO->vs_width and GR_SCREEN_INFO->ws_width ??, Greg Haerr
Next by date: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr
Previous in thread: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr
Next in thread: 19 Sep 2002 18:47:46 -0000 Re: PNG Support, Greg Haerr


Powered by ezmlm-browse 0.20.