nanogui: 16 bits DIB


Previous by date: 18 Oct 2001 16:59:35 -0000 Re: Is frame buffer necessary?, Greg Haerr
Next by date: 18 Oct 2001 16:59:35 -0000 Re: regarding colors in Microwindows, Greg Haerr
Previous in thread: 18 Oct 2001 16:59:35 -0000 16 bits DIB, Anita Kishore
Next in thread: 18 Oct 2001 16:59:35 -0000 Re: 16 bits DIB, jaster chen

Subject: Re: [nanogui] 16 bits DIB
From: "Greg Haerr" ####@####.####
Date: 18 Oct 2001 16:59:35 -0000
Message-Id: <03e101c157f3$efb26580$3aba46a6@xmission.com>

: Can some one tell me why GdDrawImage(..) in devdraw.c doesn't
support 16 bits/pixel image?

Hmmm...  I think the original reason is that all the image decoders
were written to produce either paletized (8bpp) or truecolor (24bpp)
decoding, so it wasn't added.

I see that you're interested in using the MWIMAGEHDRs built
directly, and you're using 16bpp images.  In this case, we'll need
to add the 16bpp stuff into GdDrawImage.  One of these days,
I was planning on changing the whole structure to use the low-level
screen driver blit routines to draw the image, which would fix this
area in Microwindows, which is slow.

Regards,

Greg


Previous by date: 18 Oct 2001 16:59:35 -0000 Re: Is frame buffer necessary?, Greg Haerr
Next by date: 18 Oct 2001 16:59:35 -0000 Re: regarding colors in Microwindows, Greg Haerr
Previous in thread: 18 Oct 2001 16:59:35 -0000 16 bits DIB, Anita Kishore
Next in thread: 18 Oct 2001 16:59:35 -0000 Re: 16 bits DIB, jaster chen


Powered by ezmlm-browse 0.20.