summaryrefslogtreecommitdiffstats
path: root/tests/auto/webp/images/kollada_noalpha.webp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2018-05-25 16:15:14 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2018-05-28 11:15:48 +0000
commitb9ba2217566531b51f3c5c5158bfcc386539d810 (patch)
tree9922d820dcebdc3eec29e2a8f4416ce0de1896bd /tests/auto/webp/images/kollada_noalpha.webp
parentaa332026488e8e441a4187898534c59cd657e70e (diff)
webp handler: support alpha-less reading and writing
Webp files can be with or without alpha channel. The handler would ignore this and read all as Format_ARGB32 images, and write all as having alpha, in both cases losing that important bit of information. As a driveby, simplify the endianness handling in write(). By always converting the source image to an endianness-independent QImage format, no special handling is required. Task-number: QTBUG-48628 Change-Id: I624ed72b18a8b59a542979efcb4e8ff81214e0d7 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/webp/images/kollada_noalpha.webp')
-rw-r--r--tests/auto/webp/images/kollada_noalpha.webpbin0 -> 3570 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/auto/webp/images/kollada_noalpha.webp b/tests/auto/webp/images/kollada_noalpha.webp
new file mode 100644
index 0000000..b5abe5d
--- /dev/null
+++ b/tests/auto/webp/images/kollada_noalpha.webp
Binary files differ