question about gdkpixbuf.c

Claudio Saavedra csaavedra at
Fri Jan 5 20:53:16 PST 2007


I'm giving some test to libopenraw, specifically to the gnome support.
Reading or_thumbnail_to_pixbuf() (openraw-gnome/gdkpixbuf.c:44), I see
that a GdkPixbuf with 24 bits per sample is created, although
gdk_pixbuf_new_from_data () supports only 8 bits per sample.

This produces a warning in runtime, and no pixbuf is created.

GdkPixbuf-CRITICAL **: gdk_pixbuf_new_from_data: assertion
`bits_per_sample == 8' failed

What's the status of this? Am I overlooking something?

Thanks a lot!

Claudio Saavedra <claudio at>
Claudio Saavedra <csaavedra at>

More information about the Libopenraw-dev mailing list