| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Task-number: QTBUG-7037
Reviewed-by: Kim
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|