To-image - Function SummarySummary:(missing) Usage:to-image value Arguments:value - The value argument. Description:This is a special conversion function that is used for converting a FACE object (such as those created by the layout function) into an image bitmap in memory. For example, the code below converts the OUT layout to a bitmap image, then writes it out as a PNG file:
This function provides a useful way to save REBOL generated images for use in other programs or web pages (which also allows you to print the images). For example, you can display the image above in a web browser with this code:
Related:to - Constructs and returns a new value after conversion.
| ||||
|