Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]
Image

Method Image._load()


Method _load

object(Image.Layer) Image.load()
object(Image.Image) Image.load(object file)
object(Image.Image) Image.load(string filename)
object(Image.Layer) Image.load_layer()
object(Image.Layer) Image.load_layer(object file)
object(Image.Layer) Image.load_layer(string filename)
array(object(Image.Layer)) Image.load_layers()
array(object(Image.Layer)) Image.load_layers(object file)
array(object(Image.Layer)) Image.load_layers(string filename)
mapping Image._load()
mapping Image._load(object file)
mapping Image._load(string filename)

Description

Helper function to load an image from a file. If no filename is given, Stdio.stdin is used. The result is the same as from the decode functions in Image.ANY.

Note

All data is read, ie nothing happens until the file is closed. Throws upon error.