diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-05-25 16:15:14 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2018-05-28 11:15:48 +0000 |
commit | b9ba2217566531b51f3c5c5158bfcc386539d810 (patch) | |
tree | 9922d820dcebdc3eec29e2a8f4416ce0de1896bd /tests/auto/webp/images/kollada_noalpha.webp | |
parent | aa332026488e8e441a4187898534c59cd657e70e (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.webp | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000..b5abe5d --- /dev/null +++ b/tests/auto/webp/images/kollada_noalpha.webp |