RSS/Atom feed Twitter
Site is read-only, email is disabled

GdkPixbuf problem

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

GdkPixbuf problem Matthew H. Plough 16 Oct 00:32
  GdkPixbuf problem Sven Neumann 22 Oct 01:01
Matthew H. Plough
2004-10-16 00:32:02 UTC (over 19 years ago)

GdkPixbuf problem

Hi everyone --

At
http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html , the GDK developer's documentation specifies the bits-per-sample property as follows:

The number of bits per sample.

Allowed values: [1,16]

Default value: 8

However, I get the following error when I try to allocate a pixbuf with 16 bits per sample in Windows 2000:

(rawtools:372): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 261 (gdk_pixbuf_n
ew): assertion `bits_per_sample == 8' failed

Is this a known issue? If so, when will it be fixed?

Matt

Sven Neumann
2004-10-22 01:01:18 UTC (over 19 years ago)

GdkPixbuf problem

Hi,

"Matthew H. Plough" writes:

http://developer.gnome.org/doc/API/2.0/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html , the GDK developer's documentation specifies the bits-per-sample property as follows:

The number of bits per sample.

Allowed values: [1,16]

Default value: 8

However, I get the following error when I try to allocate a pixbuf with 16 bits per sample in Windows 2000:

(rawtools:372): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 261 (gdk_pixbuf_n
ew): assertion `bits_per_sample == 8' failed

Is this a known issue? If so, when will it be fixed?

This is known. GdkPixbuf does only support 8 bits per color channel. This is however completely off-topic here since GdkPixbuf if not developed or maintained by the GIMP developers. Please check bugzilla.gnome.org, product gtk+, and file an enhancement request if there isn't one already.

Sven