Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTKSupport
GTKSupport.Util

Method GTKSupport.Util.load_image()


Method load_image

mapping load_image(string filename, array|void bgcol)

Description

Loads and decodes an image as a GDK.Pixmap .

Returns
"format" : string

The MIME content type of the image.

"alpha" : GDK.Bitmap

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

"img" : GDK.Bitmap

The decoded image.