Re: Pixbuf question



m�2004-10-25 klockan 23.28 skrev Carl Nygard:
> the create_from_data() function docs say the data is RGB with 8bits per
> sample.  Is that 8bits/pixel or 8bits per each R/G/B?  And if you have
> an alpha channel, is that an additional 8bits (for total of 32?  or
> 16?)  Or what?

8 bits/per color channel, plus alpha, if present.
That is, 24 or 32 bits.
At least that is the assumption the image printing function in our
program makes and it seems to work.

-- 
Fredrik Arnerup <e97_far e kth se>
http://www.stacken.kth.se/~foo/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]