| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 2 |
|
| 3 |
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>AVIF IO</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/prettify.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!-- |
| 4 |
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script> |
| 5 |
|
| 6 |
<!-- Generated by Natural Docs, version 1.51 --> |
| 7 |
<!-- http://www.naturaldocs.org --> |
| 8 |
|
| 9 |
<!-- saved from url=(0026)http://www.naturaldocs.org --> |
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="AVIF_IO"></a>AVIF IO</h1><div class=CBody><p>Read and write AVIF images using libavif (<a href="https://github.com/AOMediaCodec/libavif" class=LURL target=_top>https://github.com/AOMediaCodec/libavif</a>) . Currently, the only ICC profile we support is sRGB. Since that’s what web browsers use, it’s sufficient for now.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#AVIF_IO" >AVIF IO</a></td><td class=SDescription>Read and write AVIF images using libavif (<a href="https://github.com/AOMediaCodec/libavif" class=LURL target=_top>https://github.com/AOMediaCodec/libavif</a>) . </td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#gdImageCreateFromAvif" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a></td><td class=SDescription><a href="#gdImageCreateFromAvif" class=LFunction id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a> is called to load truecolor images from AVIF format files. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#gdImageCreateFromAvifPtr" id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">gdImageCreateFromAvifPtr</a></td><td class=SDescription>See <a href="#gdImageCreateFromAvif" class=LFunction id=link4 onMouseOver="ShowTip(event, 'tt1', 'link4')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a>.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#gdImageCreateFromAvifCtx" id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">gdImageCreateFromAvifCtx</a></td><td class=SDescription>See <a href="#gdImageCreateFromAvif" class=LFunction id=link6 onMouseOver="ShowTip(event, 'tt1', 'link6')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a>.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#gdImageAvifEx" >gdImageAvifEx</a></td><td class=SDescription><a href="#gdImageAvifEx" class=LFunction id=link7 onMouseOver="ShowTip(event, 'tt4', 'link7')" onMouseOut="HideTip('tt4')">gdImageAvifEx</a> outputs the specified image to the specified file in AVIF format. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div> |
| 15 |
|
| 16 |
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div> |
| 17 |
|
| 18 |
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="gdImageCreateFromAvif"></a>gdImageCreateFromAvif</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvif(</td><td class="PType prettyprint " nowrap>FILE </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>infile</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p><a href="#gdImageCreateFromAvif" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt1', 'link8')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a> is called to load truecolor images from AVIF format files. Invoke <a href="#gdImageCreateFromAvif" class=LFunction id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a> with an already opened pointer to a file containing the desired image. <a href="#gdImageCreateFromAvif" class=LFunction id=link10 onMouseOver="ShowTip(event, 'tt1', 'link10')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a> returns a <a href="gd-h.html#gdImagePtr" class=LType id=link11 onMouseOver="ShowTip(event, 'tt5', 'link11')" onMouseOut="HideTip('tt5')">gdImagePtr</a> to the new truecolor image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a AVIF image). <a href="#gdImageCreateFromAvif" class=LFunction id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a> does not close the file.</p><p>This function creates a gdIOCtx struct from the file pointer it’s passed. And then it relies on <a href="#gdImageCreateFromAvifCtx" class=LFunction id=link13 onMouseOver="ShowTip(event, 'tt3', 'link13')" onMouseOut="HideTip('tt3')">gdImageCreateFromAvifCtx</a> to do the real decoding work. If the file contains an image sequence, we simply read the first one, discarding the rest.</p><h4 class=CHeading>Variants</h4><p><a href="#gdImageCreateFromAvifPtr" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt2', 'link14')" onMouseOut="HideTip('tt2')">gdImageCreateFromAvifPtr</a> creates an image from AVIF data already in memory.</p><p><a href="#gdImageCreateFromAvifCtx" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt3', 'link15')" onMouseOut="HideTip('tt3')">gdImageCreateFromAvifCtx</a> reads data from the function pointers in a <a href="gd_io-h.html#gdIOCtx" class=LType id=link16 onMouseOver="ShowTip(event, 'tt6', 'link16')" onMouseOut="HideTip('tt6')">gdIOCtx</a> structure.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>infile</td><td class=CDLDescription>pointer to the input file</td></tr></table><h4 class=CHeading>Returns</h4><p>A pointer to the new truecolor image. This will need to be destroyed with <a href="gd-c.html#gdImageDestroy" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt7', 'link17')" onMouseOut="HideTip('tt7')">gdImageDestroy</a> once it is no longer needed.</p><p>On error, returns 0.</p></div></div></div> |
| 19 |
|
| 20 |
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="gdImageCreateFromAvifPtr"></a>gdImageCreateFromAvifPtr</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvifPtr(</td><td class="PType prettyprint " nowrap>int </td><td class="PParameterPrefix prettyprint " nowrap></td><td class="PParameter prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PType prettyprint " nowrap>void </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>data</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>See <a href="#gdImageCreateFromAvif" class=LFunction id=link18 onMouseOver="ShowTip(event, 'tt1', 'link18')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a>.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>size</td><td class=CDLDescription>size of Avif data in bytes.</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription>pointer to Avif data.</td></tr></table></div></div></div> |
| 21 |
|
| 22 |
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="gdImageCreateFromAvifCtx"></a>gdImageCreateFromAvifCtx</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvifCtx (</td><td class="PType prettyprint " nowrap>gdIOCtx </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>ctx</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>See <a href="#gdImageCreateFromAvif" class=LFunction id=link19 onMouseOver="ShowTip(event, 'tt1', 'link19')" onMouseOut="HideTip('tt1')">gdImageCreateFromAvif</a>.</p><p>Additional details: the AVIF library comes with functions to create an IO object from a file and from a memory pointer. Of course, it doesn’t have a way to create an IO object from a gdIOCtx. So, here, we use our own helper function, <createAvifIOfromCtx>.</p><h4 class=CHeading>Otherwise, we create the image by calling AVIF library functions in order</h4><ul><li>avifDecoderCreate(), to create the decoder</li><li>avifDecoderSetIO(), to tell libavif how to read from our data structure</li><li>avifDecoderParse(), to parse the image</li><li>avifDecoderNextImage(), to read the first image from the decoder</li><li>avifRGBImageSetDefaults(), to create the avifRGBImage</li><li>avifRGBImageAllocatePixels(), to allocate memory for the pixels</li><li>avifImageYUVToRGB(), to convert YUV to RGB</li></ul><p>Finally, we create a new gd image and copy over the pixel data.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>ctx</td><td class=CDLDescription>a gdIOCtx struct</td></tr></table></div></div></div> |
| 23 |
|
| 24 |
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="gdImageAvifEx"></a>gdImageAvifEx</h3><div class=CBody><p><a href="#gdImageAvifEx" class=LFunction id=link20 onMouseOver="ShowTip(event, 'tt4', 'link20')" onMouseOut="HideTip('tt4')">gdImageAvifEx</a> outputs the specified image to the specified file in AVIF format. The file must be open for writing. Under MSDOS and all versions of Windows, it is important to use “wb” as opposed to simply “w” as the mode when opening the file, and under Unix there is no penalty for doing so. <a href="#gdImageAvifEx" class=LFunction id=link21 onMouseOver="ShowTip(event, 'tt4', 'link21')" onMouseOut="HideTip('tt4')">gdImageAvifEx</a> does not close the file; your code must do so.</p><h4 class=CHeading>Variants</h4><p><a href="#gdImageAvifEx" class=LFunction id=link22 onMouseOver="ShowTip(event, 'tt4', 'link22')" onMouseOut="HideTip('tt4')">gdImageAvifEx</a> writes the image to a file, encoding with the default quality and speed.</p><p><gdImageAvifPtrEx> stores the image in RAM.</p><p><gdImageAvifPtr> stores the image in RAM, encoding with the default quality and speed.</p><p><gdImageAvifCtx> stores the image using a <a href="gd_io-h.html#gdIOCtx" class=LType id=link23 onMouseOver="ShowTip(event, 'tt6', 'link23')" onMouseOut="HideTip('tt6')">gdIOCtx</a> struct.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>im</td><td class=CDLDescription>The image to save.</td></tr><tr><td class=CDLEntry>outFile</td><td class=CDLDescription>The FILE pointer to write to.</td></tr><tr><td class=CDLEntry>quality</td><td class=CDLDescription>Compression quality (0-100). 0 is lowest-quality, 100 is highest.</td></tr><tr><td class=CDLEntry>speed</td><td class=CDLDescription>The speed of compression (0-10). 0 is slowest, 10 is fastest.</td></tr></table><h4 class=CHeading>Notes on parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>quality</td><td class=CDLDescription>If quality = -1, we use a default quality as defined in QUALITY_DEFAULT. For information on how we convert this quality to libavif’s quantity param, see <quality2Quantizer>.</td></tr><tr><td class=CDLEntry>speed</td><td class=CDLDescription>At slower speeds, encoding may be quite slow. Use judiciously.</td></tr></table><p>Qualities or speeds that are lower than the minimum value get clamped to the minimum value, and qualities or speeds that are lower than the maximum value get clamped to the maxmum value. Note that AVIF_SPEED_DEFAULT is -1. If we ever set SPEED_DEFAULT = AVIF_SPEED_DEFAULT, we’d want to add a conditional to ensure that value doesn’t get clamped.</p><h4 class=CHeading>Returns</h4><ul><li>for <a href="#gdImageAvifEx" class=LFunction id=link24 onMouseOver="ShowTip(event, 'tt4', 'link24')" onMouseOut="HideTip('tt4')">gdImageAvifEx</a>, <gdImageAvif>, and <gdImageAvifCtx>, nothing.</li><li>for <gdImageAvifPtrEx> and <gdImageAvifPtr>, a pointer to the image in memory.</li></ul></div></div></div> |
| 25 |
|
| 26 |
</div><!--Content--> |
| 27 |
|
| 28 |
|
| 29 |
<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer--> |
| 30 |
|
| 31 |
|
| 32 |
<div id=Menu><div class=MEntry><div class=MFile><a href="preamble-txt.html">About LibGD</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Image Formats</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile id=MSelected>AVIF IO</div></div><div class=MEntry><div class=MFile><a href="gd_bmp-c.html">BMP IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_gd-c.html">GD IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_gd2-c.html">GD2 IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_gif_in-c.html">GIF Input</a></div></div><div class=MEntry><div class=MFile><a href="gd_gif_out-c.html">GIF Output</a></div></div><div class=MEntry><div class=MFile><a href="gd_heif-c.html">HEIF IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_jpeg-c.html">JPEG IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_png-c.html">PNG IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_tga-c.html">TGA IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_tiff-c.html">TIFF IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_wbmp-c.html">WBMP IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_webp-c.html">WebP IO</a></div></div><div class=MEntry><div class=MFile><a href="gd_xbm-c.html">XBM IO</a></div></div><div class=MEntry><div class=MFile><a href="gdxpm-c.html">XPM IO</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="gd_topal-c.html">Color Quantization</a></div></div><div class=MEntry><div class=MFile><a href="gd_crop-c.html">Cropping</a></div></div><div class=MEntry><div class=MFile><a href="gdft-c.html">FreeType font rendering</a></div></div><div class=MEntry><div class=MFile><a href="gd-c.html">gd.c</a></div></div><div class=MEntry><div class=MFile><a href="gd-h.html">gd.h</a></div></div><div class=MEntry><div class=MFile><a href="gd_filename-c.html">gd_filename.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_interpolation-c.html">gd_interpolation.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_io-h.html">gd_io.h</a></div></div><div class=MEntry><div class=MFile><a href="gd_io_dp-c.html">gd_io_dp.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_ss-c.html">gd_ss.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_version-c.html">gd_version.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_color_map-c.html">gdColorMapLookup</a></div></div><div class=MEntry><div class=MFile><a href="gdhelpers-c.html">gdFree</a></div></div><div class=MEntry><div class=MFile><a href="gdfx-c.html">gdfx.c</a></div></div><div class=MEntry><div class=MFile><a href="gd_color_match-c.html">gdImageColorMatch</a></div></div><div class=MEntry><div class=MFile><a href="gd_nnquant-c.html">gdImageNeuQuant</a></div></div><div class=MEntry><div class=MFile><a href="gd_io_file-c.html">gdNewFileCtx</a></div></div><div class=MEntry><div class=MFile><a href="gd_io_ss-c.html">gdNewSSCtx</a></div></div><div class=MEntry><div class=MFile><a href="gd_filter-c.html">Image Filters</a></div></div><div class=MEntry><div class=MFile><a href="license-txt.html">License</a></div></div><div class=MEntry><div class=MFile><a href="gd_matrix-c.html">Matrix</a></div></div><div class=MEntry><div class=MFile><a href="gd_transform-c.html">Transformations</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Built-in Fonts</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="gdfontg-c.html">Giant Font</a></div></div><div class=MEntry><div class=MFile><a href="gdfontl-c.html">Large Font</a></div></div><div class=MEntry><div class=MFile><a href="gdfontmb-c.html">Medium Bold Font</a></div></div><div class=MEntry><div class=MFile><a href="gdfonts-c.html">Small Font</a></div></div><div class=MEntry><div class=MFile><a href="gdfontt-c.html">Tiny Font</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Index</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MIndex><a href="../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Macros.html">Macros</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Types.html">Types</a></div></div></div></div></div><script type="text/javascript"><!-- |
| 33 |
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search"); |
| 34 |
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option id=MSearchEverything selected value="General">Everything</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Macros">Macros</option><option value="Types">Types</option></select></div><script language=JavaScript><!-- |
| 35 |
HideAllBut([1], 4);// --></script></div><!--Menu--> |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
<!--START_ND_TOOLTIPS--> |
| 40 |
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvif(</td><td class="PType prettyprint " nowrap>FILE </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>infile</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>gdImageCreateFromAvif is called to load truecolor images from AVIF format files. </div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvifPtr(</td><td class="PType prettyprint " nowrap>int </td><td class="PParameterPrefix prettyprint " nowrap></td><td class="PParameter prettyprint " nowrap>size,</td></tr><tr><td></td><td class="PType prettyprint " nowrap>void </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>data</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>See gdImageCreateFromAvif.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>gdImagePtr gdImageCreateFromAvifCtx (</td><td class="PType prettyprint " nowrap>gdIOCtx </td><td class="PParameterPrefix prettyprint " nowrap>*</td><td class="PParameter prettyprint " nowrap>ctx</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>See gdImageCreateFromAvif.</div></div><div class=CToolTip id="tt4"><div class=CFunction>gdImageAvifEx outputs the specified image to the specified file in AVIF format. </div></div><div class=CToolTip id="tt5"><div class=CType>The data structure in which gd stores images. </div></div><div class=CToolTip id="tt6"><div class=CType>gdIOCtx structures hold function pointers for doing image IO.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>void gdImageDestroy (</td><td class="PType prettyprint " nowrap>gdImagePtr </td><td class="PParameter prettyprint " nowrap>im</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>gdImageDestroy is used to free the memory associated with an image. </div></div><!--END_ND_TOOLTIPS--> |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div> |
| 46 |
|
| 47 |
|
| 48 |
<script language=JavaScript><!-- |
| 49 |
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html> |