CreateResizedCanvasFromBlob (open)

Creates a canvas from an image blob, and resizes it immediately

Syntax

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

OBJECT FUNCTION CreateResizedCanvasFromBlob(BLOB infile, RECORD method)

Parameters

BLOB infile

Raw image blob

RECORD method

Resize method

Return value

OBJECT

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