diff options
Diffstat (limited to 'doc/html/tqimage.html')
-rw-r--r-- | doc/html/tqimage.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html index a7b5f31c5..25540be7b 100644 --- a/doc/html/tqimage.html +++ b/doc/html/tqimage.html @@ -784,17 +784,17 @@ default) to use the default settings. returns FALSE. <p> <p>See also <a href="#load">load</a>(), <a href="#loadFromData">loadFromData</a>(), <a href="#imageFormat">imageFormat</a>(), <a href="ntqpixmap.html#save">TQPixmap::save</a>(), and <a href="tqimageio.html">TQImageIO</a>. -<h3 class=fn>bool <a name="save-2"></a>TQImage::save ( <a href="ntqiodevice.html">TQIODevice</a> * device, const char * format, int quality = -1 ) const +<h3 class=fn>bool <a name="save-2"></a>TQImage::save ( <a href="tqiodevice.html">TQIODevice</a> * device, const char * format, int quality = -1 ) const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -<p> This function writes a TQImage to the <a href="ntqiodevice.html">TQIODevice</a>, <em>device</em>. This +<p> This function writes a TQImage to the <a href="tqiodevice.html">TQIODevice</a>, <em>device</em>. This can be used, for example, to save an image directly into a TQByteArray: <pre> TQImage image; <a href="tqbytearray.html">TQByteArray</a> ba; - <a href="ntqbuffer.html">TQBuffer</a> buffer( ba ); - buffer.<a href="ntqiodevice.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ); + <a href="tqbuffer.html">TQBuffer</a> buffer( ba ); + buffer.<a href="tqiodevice.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ); image.<a href="#save">save</a>( &buffer, "PNG" ); // writes image into ba in PNG format </pre> @@ -1071,7 +1071,7 @@ specified. <p> If <em>sw</em> is -1, it is adjusted to src->width(). Similarly, if <em>sh</em> is -1, it is adjusted to src->height(). <p> Currently inefficient for non 32-bit images. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="ntqdatastream.html">TQDataStream</a> & s, const <a href="tqimage.html">TQImage</a> & image ) +<h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="tqdatastream.html">TQDataStream</a> & s, const <a href="tqimage.html">TQImage</a> & image ) </h3> <p> Writes the image <em>image</em> to the stream <em>s</em> as a PNG image, or as a @@ -1079,7 +1079,7 @@ BMP image if the stream's version is 1. <p> Note that writing the stream to a file will not produce a valid image file. <p> <p>See also <a href="#save">TQImage::save</a>() and <a href="datastreamformat.html">Format of the TQDataStream operators</a>. -<h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="ntqdatastream.html">TQDataStream</a> & s, <a href="tqimage.html">TQImage</a> & image ) +<h3 class=fn><a href="tqdatastream.html">TQDataStream</a> & <a name="operator-gt-gt"></a>operator>> ( <a href="tqdatastream.html">TQDataStream</a> & s, <a href="tqimage.html">TQImage</a> & image ) </h3> <p> Reads an image from the stream <em>s</em> and stores it in <em>image</em>. |