grayscale images
- From: johnmb <johnmblackburn googlemail com>
- To: gtkmm-list gnome org
- Subject: grayscale images
- Date: Wed, 10 Oct 2007 05:28:58 -0700 (PDT)
I thought this would be easy but I can't see a straight forward way to do it
on gtkmm.
I need to display grayscale images from an 8 bit monochrome buffer 1 byte
per pixel, to a widget contained within a gtkmm Window. Everything I have
seen so far seems to insist on an RGB map (3 bytes per pixel). I am quite
happy to write to some form of image canvas repeating each byte 3 times into
each RGB pixel location but need some guidance as to the
widget/property/method for this.
Has anyone done this before or know how it could be done ?
--
View this message in context: http://www.nabble.com/grayscale-images-tf4600439.html#a13134707
Sent from the Gtkmm mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]