Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > c3d5f6d8e7a564b8f518a16810652c82 > files > 162

imagemagick-doc-6.6.1.5-2mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>MagickCore: compress.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="nav">
<a class="el" href="dir_b44b349db36f8365f5234e57d3038770.html">magick</a></div>
<h1>compress.h</h1><a href="compress_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">  Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization</span>
<a name="l00003"></a>00003 <span class="comment">  dedicated to making software imaging solutions freely available.</span>
<a name="l00004"></a>00004 <span class="comment">  </span>
<a name="l00005"></a>00005 <span class="comment">  You may not use this file except in compliance with the License.</span>
<a name="l00006"></a>00006 <span class="comment">  obtain a copy of the License at</span>
<a name="l00007"></a>00007 <span class="comment">  </span>
<a name="l00008"></a>00008 <span class="comment">    http://www.imagemagick.org/script/license.php</span>
<a name="l00009"></a>00009 <span class="comment">  </span>
<a name="l00010"></a>00010 <span class="comment">  Unless required by applicable law or agreed to in writing, software</span>
<a name="l00011"></a>00011 <span class="comment">  distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00012"></a>00012 <span class="comment">  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00013"></a>00013 <span class="comment">  See the License for the specific language governing permissions and</span>
<a name="l00014"></a>00014 <span class="comment">  limitations under the License.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">  MagickCore image compression/decompression methods.</span>
<a name="l00017"></a>00017 <span class="comment">*/</span>
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef _MAGICKCORE_COMPRESS_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _MAGICKCORE_COMPRESS_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00023"></a>00023 <span class="preprocessor">#endif</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263">00025</a> <span class="keyword">typedef</span> <span class="keyword">enum</span>
<a name="l00026"></a>00026 {
<a name="l00027"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263f4902cf86956f4668808c2e57b930530">00027</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263f4902cf86956f4668808c2e57b930530">UndefinedCompression</a>,
<a name="l00028"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826307811fc593ce3b2fa03e5744517b0f13">00028</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826307811fc593ce3b2fa03e5744517b0f13">NoCompression</a>,
<a name="l00029"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682638f02f0d9f19febf8e9fa17375ce864fa">00029</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682638f02f0d9f19febf8e9fa17375ce864fa">BZipCompression</a>,
<a name="l00030"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682630e5e355ee6f2b8248797bbe035ac0f5b">00030</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682630e5e355ee6f2b8248797bbe035ac0f5b">FaxCompression</a>,
<a name="l00031"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263558bdb5810b74e5d5038bff6183d8d07">00031</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263558bdb5810b74e5d5038bff6183d8d07">Group4Compression</a>,
<a name="l00032"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263f12cfcbf02d10ead40da97c1394e0c04">00032</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263f12cfcbf02d10ead40da97c1394e0c04">JPEGCompression</a>,
<a name="l00033"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682632810f2510aea3aec53eba8c6ef491fe3">00033</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682632810f2510aea3aec53eba8c6ef491fe3">JPEG2000Compression</a>,
<a name="l00034"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826318d5c518f5b8eff10e66aeb6b57d364c">00034</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826318d5c518f5b8eff10e66aeb6b57d364c">LosslessJPEGCompression</a>,
<a name="l00035"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826338573730109108c6d6d8437fef589bbf">00035</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae916826338573730109108c6d6d8437fef589bbf">LZWCompression</a>,
<a name="l00036"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682635b7808e3d541a4001bb09fe7ec3aa551">00036</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae91682635b7808e3d541a4001bb09fe7ec3aa551">RLECompression</a>,
<a name="l00037"></a><a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263496043116d897006c14a1b2e8dbf315e">00037</a>   <a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263496043116d897006c14a1b2e8dbf315e">ZipCompression</a>
<a name="l00038"></a>00038 } <a class="code" href="compress_8h.html#ffec749ed88365143745313ae9168263">CompressionType</a>;
<a name="l00039"></a>00039 
<a name="l00040"></a><a class="code" href="compress_8h.html#52dca03567c37d90e5659edece850e53">00040</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__Ascii85Info.html">_Ascii85Info</a>
<a name="l00041"></a>00041   <a class="code" href="struct__Ascii85Info.html">Ascii85Info</a>;
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <a class="code" href="magick-type_8h.html#c740cbce6e8928a679ae3767b49428dd">MagickBooleanType</a>
<a name="l00044"></a>00044   <a class="code" href="compress_8c.html#aa954bc66511a0294f8c34c919747804">HuffmanDecodeImage</a>(<a class="code" href="struct__Image.html">Image</a> *),
<a name="l00045"></a>00045   <a class="code" href="compress_8c.html#2683f460a4ae8637e99c139fb680ef0e">HuffmanEncodeImage</a>(<span class="keyword">const</span> <a class="code" href="struct__ImageInfo.html">ImageInfo</a> *,<a class="code" href="struct__Image.html">Image</a> *),
<a name="l00046"></a>00046   <a class="code" href="compress_8c.html#77a9d83f656cb00054b6455b950371be">Huffman2DEncodeImage</a>(<span class="keyword">const</span> <a class="code" href="struct__ImageInfo.html">ImageInfo</a> *,<a class="code" href="struct__Image.html">Image</a> *),
<a name="l00047"></a>00047   <a class="code" href="compress_8c.html#0ed0b7fd9022854153cec5b90ff4761c">LZWEncodeImage</a>(<a class="code" href="struct__Image.html">Image</a> *,<span class="keyword">const</span> <span class="keywordtype">size_t</span>,<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *),
<a name="l00048"></a>00048   <a class="code" href="compress_8c.html#a0efe4b093484c85742815a0a0b22205">PackbitsEncodeImage</a>(<a class="code" href="struct__Image.html">Image</a> *,<span class="keyword">const</span> <span class="keywordtype">size_t</span>,<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *),
<a name="l00049"></a>00049   <a class="code" href="compress_8c.html#8118ff5dd48a91d72fde41118985587e">ZLIBEncodeImage</a>(<a class="code" href="struct__Image.html">Image</a> *,<span class="keyword">const</span> <span class="keywordtype">size_t</span>,<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *);
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="keyword">extern</span> <a class="code" href="MagickCore_8h.html#487cee8f0dff0607e77f6b51d6403651">MagickExport</a> <span class="keywordtype">void</span>
<a name="l00052"></a>00052   <a class="code" href="compress_8c.html#dfdb215873fe75a8b610b45b24589e49">Ascii85Encode</a>(<a class="code" href="struct__Image.html">Image</a> *,<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>),
<a name="l00053"></a>00053   <a class="code" href="compress_8c.html#16c5d420636b20db608b91bd0d366b18">Ascii85Flush</a>(<a class="code" href="struct__Image.html">Image</a> *),
<a name="l00054"></a>00054   <a class="code" href="compress_8c.html#773e21db7f7f8de668cd2585a5c19dcd">Ascii85Initialize</a>(<a class="code" href="struct__Image.html">Image</a> *);
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="preprocessor">#if defined(__cplusplus) || defined(c_plusplus)</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>}
<a name="l00058"></a>00058 <span class="preprocessor">#endif</span>
<a name="l00059"></a>00059 <span class="preprocessor"></span>
<a name="l00060"></a>00060 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Sat Jan 26 14:50:29 2008 for MagickCore by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>