bits_per_sample in pixbuf functions
- From: "Lewin A.R.W. Edwards" <larwe larwe com>
- To: gtk-app-devel-list gnome org
- Subject: bits_per_sample in pixbuf functions
- Date: Sun, 16 Dec 2001 11:59:49 -0500
Is the "bits_per_sample" parameter in functions such as gdk_pixbuf_new
bits per RGB component
I.e., if I had an internal RGB buffer (8:8:8, i.e. 24bpp) would I use 24
or 8 as the bits_per_sample field?
And a more complex case: if I had a 16bpp buffer, would gdk
automatically assume that it's 5:6:5?
--
-- Lewin A.R.W. Edwards (Embedded Engineer)
Work http://www.digi-frame.com/
Personal http://www.larwe.com/
Tel (914) 937-4090 9am-6pm ET M-F
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]