CreateCanvasFromBlob (open)

Creates a canvas from an existing image (eg a GIF, JPEG or a PNG image)

Syntax

LOADLIB "wh::graphics/canvas.whlib";

OBJECT FUNCTION CreateCanvasFromBlob(BLOB infile)

Parameters

BLOB infile

Image

Return value

OBJECT

Canvas object, or DEFAULT OBJECT if the image could not be read