Pike v8.0 release 1738

Method GTKSupport.Util.load_image()


Method load_image

mapping load_image(string filename, array|void bgcol)

Description

Loads and decodes an image as a GDK1.Pixmap.

Returns
"format" : string

The MIME content type of the image.

"alpha" : GDK1.Bitmap

The alpha channel of the image, if any. Otherwise 0.

"img" : GDK1.Bitmap

The decoded image.