How to render 8-bit raster graphics
- From: "Janet Mini" <minijanetleung hotmail com>
- To: gtkmm-list gnome org
- Cc: gnomemm-list gnome org
- Subject: How to render 8-bit raster graphics
- Date: Sat, 08 Jan 2005 19:54:32 +0000
Hello all,
I'm new to gtkmm.
I have some 8-bit grayscale images that I want to display in a gtkmm
application.
I want to display them as a sequence of frames as an animation like a movie
playback.
And I will also add some texts on top of the animation.
Does anybody have any good idea how to do it properly with performance
(speed)?
Shall I use the gnome canvas widget?
I tested that I could use a look up table and duplicate my 8-bit data for
each of the RGB channel and create a RGB pixbuf.
But is it possible that I use the grayscale visual and display just my 8-bit
grayscale images on the canvas instead of using RGB?
Thank you in advance for any help and suggestion.
Regards,
Janet
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]