qt5base-lts/tests/auto/gui/image/qimage
Eirik Aavitsland 2b52452843 Add load/fromdata() overloads taking QByteArrayView to QImage
Handy when one has the data buffer to be read in a QBAV.

This also fixes an issue and compiler warning about passing a
qsizetype data length value as an int, and makes it possible to pass
a qsizetype-size length without going through QByteArray.

Makes the QByteArray overload redundant.

Change-Id: Iba8825cf0fd8003fb2eac5b1d30a61ec91b85ceb
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2021-06-02 23:02:45 +02:00
..
images QImage/Jpeg: decode/encode comment attributes as utf-8 2018-03-18 09:29:06 +00:00
.gitignore
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qimage.qrc Android: Fix qimage test. 2015-01-08 10:09:39 +01:00
tst_qimage.cpp Add load/fromdata() overloads taking QByteArrayView to QImage 2021-06-02 23:02:45 +02:00