To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationgenerate_image

generate_image ([integer width, integer height]) ⇒ object

Creates a new image with the specified width and height. If these are not specified, it defaults to 100 by 100 pixels. As of version 1.6.4, the function now returns an image object. There is more information on what the image object is and how it works here.

First available: Version


This function was renamed as generate_image as of version 1.6.7, prior to this it was called image.


There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.