1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta name="robots" content="noindex"><title>Qt Image IO Extension Library</title>
</head>
<body bgcolor=#ffffff>
<p>
<h1 align=center>Qt Image IO Extension Library</h1>
<hr>
<p>
This library is an extension to the
Qt GUI Toolkit. It provides image input/output facilities for additional
formats which may require additional libraries or DLLs, or simply large
amounts of code to implement. The purpose of this extension is to allow
the Qt GUI Toolkit to remain unbloated by such additional library code,
while allowing Qt applications with specific image I/O requirements to
have readily available support.
<p>
The API of the library is simple. An application requiring additional
image formats should either call the function:
<p>
<ul>
<li> <a href="#all"><b>qInitImageIO</b></a> ()
</ul>
<p>
<em>or</em> call a selection of the format-specific functions:
<p>
<ul>
<li> <a href="#jpeg"><b>qInitJpegIO</b></a> ()
<li> <a href="#png"><b>qInitPngIO</b></a> ()
</ul>
<p>
<hr>
<p>
<h2>Function Documentation</h2>
<p>
<h3> <a name="all">qInitImageIO()</a> </h3>
<p>
<pre>
#include <qimgio.h>
</pre>
<p>
Initialize <em>all</em> image I/O extensions. Note that future versions
of this extension may support more formats than the version your application
was originally linked with. If you link dynamically with <tt>libqimgio</tt>,
then
those new formats will be available, and the user will require
any libraries for supporting those formats (which presumably they will
have if they have installed a newer version of <tt>libqimgio</tt>).
If this is not what you want, consider linking this code statically.
<p>
Currently, this function enables JPEG and PNG support.
<p>
<h3> <a name="jpeg">qInitJpegIO()</a> </h3>
<p>
<pre>
#include <qjpegio.h>
</pre>
<p>
Initialize JPEG image I/O extensions.
<p>
<ul>
<li> Requires <tt>libjpeg.so.6</tt>
<ul>
<li> Tested with <tt>libjpeg.so.6.0.1</tt>.
<li> See <a href="ftp://ftp.uu.net/graphics/jpeg/">ftp.uu.net</a> for the official sources.
<li> Zipped package available <a href="ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr6a.zip">on Simtel</a>.
<li> See <a href="http://ftpsearch.ntnu.no/?query=jpegsrc.v6a.tar.gz&hits=200&type=Exact+search">FTP Search</a> for other sources.
<li> See <a href="http://www.faqs.org/faqs/jpeg-faq/">the JPEG FAQ</a> for more information.
</ul>
</ul>
<p>
<h3> <a name="png">qInitPngIO()</a> </h3>
<p>
<pre>
#include <qpngio.h>
</pre>
<p>
Initialize PNG image I/O extensions.
<p>
<ul>
<li> Requires <tt>libpng.so.0</tt> and <tt>libz.so.1</tt>
<ul>
<li>Tested with <tt>libpng.so.0.96</tt> and <tt>libz.so.1.0.4</tt>.
<li>Free PNG code available from <a href="http://www.cdrom.com/pub/png/pngcode.html">The PNG Development Group</a>
<li>Free ZLib code available in
<a href="http://www.cdrom.com/pub/infozip/zlib/zlib-1.0.4.tar.gz">a Gzipped Tar file</a>, or
<a href="http://www.cdrom.com/pub/infozip/zlib/zlib104.zip">a Zip file</a>.
<li>See <a href="http://www.cdrom.com/pub/png/">The PNG Home Page</a>
and <a href="http://www.cdrom.com/pub/infozip/zlib/">The ZLib Home Page</a>
for more information.
</ul>
</ul>
<p>
</body>
</html>
<p><address><hr><div align="center">
<table width="100%" cellspacing="0" border="0"><tr>
<td>Copyright 1999 Troll Tech<td><a href="trademarks.html">Trademarks</a>
<td align="right"><div align="right">Qt version 1.45</div>
</table></div></address></body></html>
|