| 1 | |
| 2 | <refentry id="imagefree"> |
| 3 | <indexterm id="IndexImagefree"><primary>imagefree</primary></indexterm> |
| 4 | <refentryinfo><title>Image Processing Opcodes</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>imagefree</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | <refnamediv> |
| 10 | <refname>imagecreate</refname> |
| 11 | <refpurpose> |
| 12 | Frees memory allocated for a previously loaded or created image. |
| 13 | </refpurpose> |
| 14 | </refnamediv> |
| 15 | |
| 16 | <refsect1> |
| 17 | <title>Description</title> |
| 18 | <para>Plugin opcode in image. This opcode is part of the plugin repository and has to be installed separately. |
| 19 | The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para> |
| 20 | <para> |
| 21 | Frees memory allocated for a previously loaded or created image. |
| 22 | </para> |
| 23 | </refsect1> |
| 24 | |
| 25 | <refsect1> |
| 26 | <title>Syntax</title> |
| 27 | <synopsis><command>imagefree</command> iimagenum</synopsis> |
| 28 | </refsect1> |
| 29 | |
| 30 | <refsect1> |
| 31 | <title>Initialization</title> |
| 32 | <para> |
| 33 | <emphasis>iimagenum</emphasis> -- reference of the image to free. |
| 34 | </para> |
| 35 | </refsect1> |
| 36 | |
| 37 | <refsect1> |
| 38 | <title>Examples</title> |
| 39 | <para> |
| 40 | Here is an example of the imagefree opcode. It uses the file <ulink url="examples/imageopcodes.csd"><citetitle>imageopcodes.csd</citetitle></ulink> and <ulink url="examples/imageOpcode01.png"><citetitle>imageOpcode01.png</citetitle></ulink>. |
| 41 | |
| 42 | <example> |
| 43 | <title>Example of the imagefree opcode.</title> |
| 44 | |
| 45 | <xi:include href="examples-xml/imageopcodes.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> |
| 46 | </example> |
| 47 | </para> |
| 48 | </refsect1> |
| 49 | |
| 50 | <refsect1> |
| 51 | <title>See also</title> |
| 52 | <para><link linkend="ImageopcodesTop"><citetitle>Image processing opcodes</citetitle></link></para> |
| 53 | </refsect1> |
| 54 | |
| 55 | <refsect1> |
| 56 | <title>Credits</title> |
| 57 | <para> |
| 58 | <simplelist> |
| 59 | <member>Author: Cesare Marilungo</member> |
| 60 | </simplelist> |
| 61 | </para> |
| 62 | |
| 63 | <para>New in version 5.08</para> |
| 64 | </refsect1> |
| 65 | </refentry> |