qt6-bb10/tests/auto/gui/image/qimagereader
Vladimir Belyavsky 4c21f72837 QImageReader: allow only one dimension to be used for scaledSize
If only one dimension (width or height) of the scaled size is set
by an user, let's try to calculate the second one, based on the
image original size and maintaining the aspect ratio.

[ChangeLog][QtGui][QImageReader] Allow only one dimension (width
or height) to be set for the scaled size. In this case, the other
will be calculated automatically based on the original image size
and maintaining the aspect ratio.

Task-number: QTBUG-115039
Change-Id: If1b13b1ead3cf788915c08bdb3ba8becd8bf8042
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2024-03-19 17:22:16 +00:00
..
baseline
images QPpmHandler: fix reading ppm files 2023-11-27 19:53:41 +01:00
.gitignore
BLACKLIST tests: blacklist tst_QImageReader::setClipRect() and 2023-03-24 10:49:16 +01:00
CMakeLists.txt CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
android_testdata.qrc
tst_qimagereader.cpp QImageReader: allow only one dimension to be used for scaledSize 2024-03-19 17:22:16 +00:00