Re: How to determin bit depth of a Gtk::Image?



On 28 Nov 2006 02:11:12 -0800, maxime_phan@xxxxxxxxxxx wrote:

Hi all,

I'm trying to got the bit depth (typically 8, 16, 24 or 32) of a
Gtk::Image.
Gdk::Pixbuf::get_bits_per_sample() seems to be what I'm looking for
but it always returns 8.

I use Perl and I'm not expert, but I was told that currently
gdk-pixbuf currently allows only 8-bit samples

zentara

--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
.



Relevant Pages

  • Re: How to determin bit depth of a Gtk::Image?
    ... I use Perl and I'm not expert, but I was told that currently ... gdk-pixbuf currently allows only 8-bit samples ... So they are 24 bits (without an alpha channel) ...
    (comp.os.linux.development.apps)
  • Re: Graph in Perl
    ... zentara wrote: ... s it possible to draw graph in perl in real time? ... For a well documented solution, ... graph issue as i know perl is not database oriented script language nor ...
    (comp.lang.perl.misc)
  • Re: Tk Entry and percents.
    ... you will find the allowed validation types. ... usefulness than Perl in certain circumstances. ... I want this feature in native Perl. ...
    (comp.lang.perl.tk)
  • Re: Plotting widget in Perl?
    ... Zentara, ... which perl module in Gtk2::* should I use to use this from perl? ... docs usually tell you what c lib versions are working correctly. ... Install the c gd lib first. ...
    (perl.beginners)
  • Re: Tk Entry and percents.
    ... you can use Tcl syntax in Perl scripts. ... usefulness than Perl in certain circumstances. ... Perl/Tk is done solely by volunteer efforts, ...
    (comp.lang.perl.tk)