Scroll to navigation

Image.create(3kaya) Kaya module reference Image.create(3kaya)

NAME

Image::create - Create a new image

SYNOPSIS

Image create( Int x, Int y, Bool truecolour=false )

ARGUMENTS

x Image width in pixels
y Image height in pixels
truecolour Is the image true colour (optional, defaulting to false)

DESCRIPTION

Create a new image with the specified dimensions and colour.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Image.create_1 (3kaya)
August 2014 Kaya