Re: gdk_pixbuf problems displaying some images



Scott Gifford <sgifford suspectclass com> writes:
I can't get a gdk_pixmap to display some PNG images, such as the one
at:

    http://www.suspectclass.com/~sgifford/imagemagick/example-out.png

Instead, it displays an image of grey and white stripes.  Mozilla and
ImageMagick can display this image fine.  It was created by
ImageMagick, but I've had the same problem with some PNGs created by
GhostScript.

file(1) describes the image as:

     PNG image data, 618 x 814, 8-bit grayscale, non-interlaced

I'm testing with my own application which uses gdk_pixbuf, and also
with Electric Eyes (ee).

Anybody got any ideas?  Is there a better place to ask this question?

It's probably a bug in the gdk-pixbuf PNG loader. Your image works
with the devel version of gdk-pixbuf (that comes with GTK 1.3), but
not all the bugfixes in that version have been backported to 0.11.

Havoc




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