summaryrefslogtreecommitdiffstats
path: root/tests/auto/qimagereader/images
Commit message (Collapse)AuthorAgeFilesLines
* Fixed QGifHandler::loopCount().Trond Kjernåsen2010-02-052-0/+0
| | | | | Task-number: QTBUG-7037 Reviewed-by: Kim
* images: Document QImageReader::loopCount behaviour for infinite loopsHolger Hans Peter Freyther2009-12-231-0/+0
| | | | | | | | | | | | | | | | The gif and mng reader will return -1 as QImageReader::loopCount() for infinite images. Document that this -1 is clashing with the error handling of this method. The documentation was mixing the default and error cases. In some cases "Otherwise -1" and "Otherwise 0" was used. Change this to mention the default coming from QImageIOHandler in the "Otherwise" clause and document the error case with -1. Add a test case to check that loopCount() returns -1 for infinite animations. Reviewed-by: Andreas
* gif: Add unit test for QImageReader::size callsHolger Hans Peter Freyther2009-12-231-0/+0
| | | | | | | | | Verify that QImageReader::size is not consuming a frame and can be called before each frame and that the last frame will return a QSize of (-1x-1). Task-number: QTBUG-6696 Reviewed-by: Andreas
* Fixed loading of 8-bit grayscale TIFF files.Samuel Rødal2009-11-092-0/+0
| | | | | | | | | | | The PHOTOMETRIC_MINISBLACK and PHOTOMETRIC_MINISWHITE settings also apply to 8-bit grayscale, so we need to check the bit depth of the image as well. For convenience we also try to write the images using PHOTOMETRIC_MINISBLACK and PHOTOMETRIC_MINISWHITE as opposed to PHOTOMETRIC_PALETTE when we detect that the color table is grayscale. Task-number: QTBUG-5459 Reviewed-by: Benjamin Poulain
* Fixes the gif plugin's rendering for some animated gif files.Pierre Rossi2009-09-019-0/+0
| | | | | | | | | In the case of optimized animated gifs, we don't want to discard the contents of the previous frame, this is handled if needed in the disposal process. Task-number: 247365 Reviewed-by: Samuel
* Add support for the orientation of tiff imagesBenjamin Poulain2009-08-1727-0/+0
| | | | | | | | | | | | | The orientation tag was ignored for tiff images. The tag is now used to rotate the image before providing it to the user. The orientation of indexed an mono images is done completely manually. The orientation of other type is done in conjunction to the mirroring already performed by libtiff. Task-number: 258526 Reviewed-by: Samuel Rødal
* Refactor the qimagereader autotest to work with shadow buildBenjamin Poulain2009-05-201-0/+0
| | | | | | | | | Refactor the test of QImageReader to work with shadow build. Add two tests for the TIFF format Fix an error of the test of QImageWriter that prevented the cleaning of the created files after the test. Reviewed-by: Olivier
* Long live Qt!Lars Knoll2009-03-2355-0/+3107