imagesave Image Processing Opcodes imagesave imagesave Save a previously created image. Description Plugin opcode in image. This opcode is part of the plugin repository and has to be installed separately. The plugin repository can be found here: https://github.com/csound/plugins Save a previously created image. An empty image can be created with imagecreate and its pixel RGB values can be set with imagesetpixel. The image will be saved in PNG format. Syntax imagesave iimagenum, filename Initialization iimagenum -- the reference of the image to be save. It should be a value returned by imagecreate. filename -- The filename to use to save the image. Examples Here is an example of the imagesave opcode. It uses the file imageopcodes.csd and imageOpcode01.png. Example of the imagesave opcode. This is what the saved image imageOUT.png looks like: See also Image processing opcodes Credits Author: Cesare Marilungo New in version 5.08