imageloadImage Processing Opcodesimageloadimageload
Load an image.
DescriptionPlugin 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
Load an image and return a reference to it. Individual pixel values can then be accessed with imagegetpixel.
The image processing opcodes can only load png imagesSyntaxiimagenum imageload filenameInitializationiimagenum -- number assigned to the loaded image.
filename -- The filename of the image to load (should be a valid PNG image file).
Examples
Here is an example of the imageload opcode. It uses the file imageopcodes.csd and imageOpcode01.png.
Example of the imageload opcode.
This is what the image imageOpcode01.png looks like:
See alsoImage processing opcodesCreditsAuthor: Cesare MarilungoNew in version 5.08