image_encode_canvas
Returns a binary of the image in the specified format.
arguments
- "format" : String (default: "jpg")
The image format to encode the image to.
- "image_name" : String
The name of an existing Image element in the database to output.
- "pixel_type" : String (default: "Rgb")
The pixel type used when encoding.
- "quality" : String (default: "90")
The quality used when encoding the image if supported by the format.
return value
BinaryThe encoded image.