diff options
Diffstat (limited to 'doc/html/qimageio.html')
-rw-r--r-- | doc/html/qimageio.html | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/doc/html/qimageio.html b/doc/html/qimageio.html index adae54433..7cace1518 100644 --- a/doc/html/qimageio.html +++ b/doc/html/qimageio.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQImageIO class contains parameters for loading and saving images. <a href="#details">More...</a> -<p><tt>#include <<a href="qimage-h.html">qimage.h</a>></tt> +<p><tt>#include <<a href="qimage-h.html">ntqimage.h</a>></tt> <p><a href="qimageio-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -79,17 +79,17 @@ saving images. <p> -<p> TQImageIO contains a <a href="qiodevice.html">TQIODevice</a> object that is used for image data +<p> TQImageIO contains a <a href="ntqiodevice.html">TQIODevice</a> object that is used for image data I/O. The programmer can install new image file formats in addition to those that TQt provides. <p> TQt currently supports the following image file formats: PNG, BMP, XBM, XPM and PNM. It may also support JPEG, MNG and GIF, if specially configured during compilation. The different PNM formats are: PBM (P1 or P4), PGM (P2 or P5), and PPM (P3 or P6). -<p> You don't normally need to use this class; <a href="qpixmap.html#load">TQPixmap::load</a>(), -<a href="qpixmap.html#save">TQPixmap::save</a>(), and <a href="qimage.html">TQImage</a> contain sufficient functionality. +<p> You don't normally need to use this class; <a href="ntqpixmap.html#load">TQPixmap::load</a>(), +<a href="ntqpixmap.html#save">TQPixmap::save</a>(), and <a href="ntqimage.html">TQImage</a> contain sufficient functionality. <p> For image files that contain sequences of images, only the first -is read. See <a href="qmovie.html">TQMovie</a> for loading multiple images. +is read. See <a href="ntqmovie.html">TQMovie</a> for loading multiple images. <p> PBM, PGM, and PPM format <em>output</em> is always in the more condensed raw format. PPM and PGM files with more than 256 levels of intensity are scaled down when reading. @@ -100,19 +100,19 @@ license the technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK. <p> GIF support may be removed completely in a future version of TQt. We recommend using the PNG format. -<p> <p>See also <a href="qimage.html">TQImage</a>, <a href="qpixmap.html">TQPixmap</a>, <a href="qfile.html">TQFile</a>, <a href="qmovie.html">TQMovie</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="io.html">Input/Output and Networking</a>. +<p> <p>See also <a href="ntqimage.html">TQImage</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqfile.html">TQFile</a>, <a href="ntqmovie.html">TQMovie</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="io.html">Input/Output and Networking</a>. <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQImageIO"></a>TQImageIO::TQImageIO () </h3> Constructs a TQImageIO object with all parameters set to zero. -<h3 class=fn><a name="TQImageIO-2"></a>TQImageIO::TQImageIO ( <a href="qiodevice.html">TQIODevice</a> * ioDevice, const char * format ) +<h3 class=fn><a name="TQImageIO-2"></a>TQImageIO::TQImageIO ( <a href="ntqiodevice.html">TQIODevice</a> * ioDevice, const char * format ) </h3> Constructs a TQImageIO object with the I/O device <em>ioDevice</em> and a <em>format</em> tag. -<h3 class=fn><a name="TQImageIO-3"></a>TQImageIO::TQImageIO ( const <a href="qstring.html">TQString</a> & fileName, const char * format ) +<h3 class=fn><a name="TQImageIO-3"></a>TQImageIO::TQImageIO ( const <a href="ntqstring.html">TQString</a> & fileName, const char * format ) </h3> Constructs a TQImageIO object with the file name <em>fileName</em> and a <em>format</em> tag. @@ -123,7 +123,7 @@ Destroys the object and all related data. <h3 class=fn>void <a name="defineIOHandler"></a>TQImageIO::defineIOHandler ( const char * format, const char * header, const char * flags, image_io_handler readImage, image_io_handler writeImage )<tt> [static]</tt> </h3> -Defines an image I/O handler for the image format called <em>format</em>, which is recognized using the <a href="qregexp.html#details">regular expression</a> <em>header</em>, read using <em>readImage</em> and +Defines an image I/O handler for the image format called <em>format</em>, which is recognized using the <a href="ntqregexp.html#details">regular expression</a> <em>header</em>, read using <em>readImage</em> and written using <em>writeImage</em>. <p> <em>flags</em> is a string of single-character flags for this format. The only flag defined currently is T (upper case), so the only @@ -131,7 +131,7 @@ legal value for <em>flags</em> are "T" and the empty string. The "T" flag means that the image file is a text file, and TQt should treat all newline conventions as equivalent. (XPM files and some PPM files are text files for example.) -<p> <em>format</em> is used to select a handler to write a <a href="qimage.html">TQImage</a>; <em>header</em> +<p> <em>format</em> is used to select a handler to write a <a href="ntqimage.html">TQImage</a>; <em>header</em> is used to select a handler to read an image file. <p> If <em>readImage</em> is a null pointer, the TQImageIO will not be able to read images in <em>format</em>. If <em>writeImage</em> is a null pointer, @@ -160,20 +160,20 @@ both are null, the TQImageIO object is valid but useless. <p> Before the regex test, all the 0 bytes in the file header are converted to 1 bytes. This is done because when TQt was -ASCII-based, <a href="qregexp.html">TQRegExp</a> could not handle 0 bytes in strings. +ASCII-based, <a href="ntqregexp.html">TQRegExp</a> could not handle 0 bytes in strings. <p> The regexp is only applied on the first 14 bytes of the file. <p> Note that TQt assumes that there is only one handler per format; if two handlers support the same format, TQt will choose one arbitrarily. It is not possible to have one handler support reading, and another support writing. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="description"></a>TQImageIO::description () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="description"></a>TQImageIO::description () const </h3> <p> Returns the image description string. <p> <p>See also <a href="#setDescription">setDescription</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="fileName"></a>TQImageIO::fileName () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="fileName"></a>TQImageIO::fileName () const </h3> <p> Returns the file name currently set. @@ -190,18 +190,18 @@ explicitly set. Returns the gamma value at which the image will be viewed. <p> <p>See also <a href="#setGamma">setGamma</a>(). -<h3 class=fn>const <a href="qimage.html">TQImage</a> & <a name="image"></a>TQImageIO::image () const +<h3 class=fn>const <a href="ntqimage.html">TQImage</a> & <a name="image"></a>TQImageIO::image () const </h3> <p> Returns the image currently set. <p> <p>See also <a href="#setImage">setImage</a>(). -<h3 class=fn>const char * <a name="imageFormat"></a>TQImageIO::imageFormat ( const <a href="qstring.html">TQString</a> & fileName )<tt> [static]</tt> +<h3 class=fn>const char * <a name="imageFormat"></a>TQImageIO::imageFormat ( const <a href="ntqstring.html">TQString</a> & fileName )<tt> [static]</tt> </h3> Returns a string that specifies the image format of the file <em>fileName</em>, or null if the file cannot be read or if the format is not recognized. -<h3 class=fn>const char * <a name="imageFormat-2"></a>TQImageIO::imageFormat ( <a href="qiodevice.html">TQIODevice</a> * d )<tt> [static]</tt> +<h3 class=fn>const char * <a name="imageFormat-2"></a>TQImageIO::imageFormat ( <a href="ntqiodevice.html">TQIODevice</a> * d )<tt> [static]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns a string that specifies the image format of the image read @@ -209,20 +209,20 @@ from IO device <em>d</em>, or 0 if the device cannot be read or if the format is not recognized. <p> Make sure that <em>d</em> is at the right position in the device (for example, at the beginning of the file). -<p> <p>See also <a href="qiodevice.html#at">TQIODevice::at</a>(). +<p> <p>See also <a href="ntqiodevice.html#at">TQIODevice::at</a>(). -<h3 class=fn><a href="qstrlist.html">TQStrList</a> <a name="inputFormats"></a>TQImageIO::inputFormats ()<tt> [static]</tt> +<h3 class=fn><a href="ntqstrlist.html">TQStrList</a> <a name="inputFormats"></a>TQImageIO::inputFormats ()<tt> [static]</tt> </h3> Returns a sorted list of image formats that are supported for image input. -<h3 class=fn><a href="qiodevice.html">TQIODevice</a> * <a name="ioDevice"></a>TQImageIO::ioDevice () const +<h3 class=fn><a href="ntqiodevice.html">TQIODevice</a> * <a name="ioDevice"></a>TQImageIO::ioDevice () const </h3> <p> Returns the IO device currently set. <p> <p>See also <a href="#setIODevice">setIODevice</a>(). -<h3 class=fn><a href="qstrlist.html">TQStrList</a> <a name="outputFormats"></a>TQImageIO::outputFormats ()<tt> [static]</tt> +<h3 class=fn><a href="ntqstrlist.html">TQStrList</a> <a name="outputFormats"></a>TQImageIO::outputFormats ()<tt> [static]</tt> </h3> Returns a sorted list of image formats that are supported for image output. @@ -237,7 +237,7 @@ Returns the image's parameters string. </h3> Returns the quality of the written image, related to the compression ratio. -<p> <p>See also <a href="#setQuality">setQuality</a>() and <a href="qimage.html#save">TQImage::save</a>(). +<p> <p>See also <a href="#setQuality">setQuality</a>() and <a href="ntqimage.html#save">TQImage::save</a>(). <h3 class=fn>bool <a name="read"></a>TQImageIO::read () </h3> @@ -252,22 +252,22 @@ information, use the <a href="#imageFormat">imageFormat</a>() static functions. <p> Example: <p> <pre> TQImageIO iio; - <a href="qpixmap.html">TQPixmap</a> pixmap; + <a href="ntqpixmap.html">TQPixmap</a> pixmap; iio.<a href="#setFileName">setFileName</a>( "vegeburger.bmp" ); if ( image.read() ) // ok pixmap = iio.<a href="#image">image</a>(); // convert to pixmap </pre> -<p> <p>See also <a href="#setIODevice">setIODevice</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setFormat">setFormat</a>(), <a href="#write">write</a>(), and <a href="qpixmap.html#load">TQPixmap::load</a>(). +<p> <p>See also <a href="#setIODevice">setIODevice</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setFormat">setFormat</a>(), <a href="#write">write</a>(), and <a href="ntqpixmap.html#load">TQPixmap::load</a>(). -<h3 class=fn>void <a name="setDescription"></a>TQImageIO::setDescription ( const <a href="qstring.html">TQString</a> & description ) +<h3 class=fn>void <a name="setDescription"></a>TQImageIO::setDescription ( const <a href="ntqstring.html">TQString</a> & description ) </h3> Sets the image description string for image handlers that support image descriptions to <em>description</em>. <p> Currently, no image format supported by TQt uses the description string. -<h3 class=fn>void <a name="setFileName"></a>TQImageIO::setFileName ( const <a href="qstring.html">TQString</a> & fileName ) +<h3 class=fn>void <a name="setFileName"></a>TQImageIO::setFileName ( const <a href="ntqstring.html">TQString</a> & fileName ) </h3> Sets the name of the file to read or write an image from to <em>fileName</em>. <p> <p>See also <a href="#setIODevice">setIODevice</a>(). @@ -292,16 +292,16 @@ modify the image. Setting to 0.0 will disable gamma correction <p> The default value is 0.0. <p> <p>See also <a href="#gamma">gamma</a>(). -<h3 class=fn>void <a name="setIODevice"></a>TQImageIO::setIODevice ( <a href="qiodevice.html">TQIODevice</a> * ioDevice ) +<h3 class=fn>void <a name="setIODevice"></a>TQImageIO::setIODevice ( <a href="ntqiodevice.html">TQIODevice</a> * ioDevice ) </h3> Sets the IO device to be used for reading or writing an image. <p> Setting the IO device allows images to be read/written to any -block-oriented <a href="qiodevice.html">TQIODevice</a>. +block-oriented <a href="ntqiodevice.html">TQIODevice</a>. <p> If <em>ioDevice</em> is not null, this IO device will override file name settings. <p> <p>See also <a href="#setFileName">setFileName</a>(). -<h3 class=fn>void <a name="setImage"></a>TQImageIO::setImage ( const <a href="qimage.html">TQImage</a> & image ) +<h3 class=fn>void <a name="setImage"></a>TQImageIO::setImage ( const <a href="ntqimage.html">TQImage</a> & image ) </h3> Sets the image to <em>image</em>. <p> <p>See also <a href="#image">image</a>(). @@ -322,7 +322,7 @@ compression ratio. <p> <em>q</em> must be in the range -1..100. Specify 0 to obtain small compressed files, 100 for large uncompressed files. (-1 signifies the default compression.) -<p> <p>See also <a href="#quality">quality</a>() and <a href="qimage.html#save">TQImage::save</a>(). +<p> <p>See also <a href="#quality">quality</a>() and <a href="ntqimage.html#save">TQImage::save</a>(). <h3 class=fn>void <a name="setStatus"></a>TQImageIO::setStatus ( int status ) </h3> @@ -348,7 +348,7 @@ will be used. <p> Example: <pre> TQImageIO iio; - <a href="qimage.html">TQImage</a> im; + <a href="ntqimage.html">TQImage</a> im; im = pixmap; // convert to image iio.<a href="#setImage">setImage</a>( im ); iio.<a href="#setFileName">setFileName</a>( "vegeburger.bmp" ); @@ -357,7 +357,7 @@ will be used. // returned TRUE if written successfully </pre> -<p> <p>See also <a href="#setIODevice">setIODevice</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setFormat">setFormat</a>(), <a href="#read">read</a>(), and <a href="qpixmap.html#save">TQPixmap::save</a>(). +<p> <p>See also <a href="#setIODevice">setIODevice</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setFormat">setFormat</a>(), <a href="#read">read</a>(), and <a href="ntqpixmap.html#save">TQPixmap::save</a>(). <!-- eof --> <hr><p> |