Closed GoogleCodeExporter closed 8 years ago
Also, we are using libwebp version 0.4.3
Original comment by scro...@google.com
on 6 Aug 2015 at 1:44
I'm wondering if this is as simple as byte order being reversed. Can you try
defining "WEBP_SWAP_16BIT_CSP" and see if you get correct output? [See line#58
here: https://chromium.googlesource.com/webm/libwebp/+/master/makefile.unix]
Also:
- On which platform did you observe this issue?
- Does RGBA4444 mode work correctly, and colors look wrong on that too?
Original comment by urv...@chromium.org
on 6 Aug 2015 at 4:07
Yes, defining WEBP_SWAP_16BIT_CSP fixes the problem, so it sounds like this is
a user error. I'll update Skia.
(FWIW, I am running on Ubuntu. I have not tried RGBA4444.)
Original comment by scro...@google.com
on 6 Aug 2015 at 5:45
Alright. Once you define WEBP_SWAP_16BIT_CSP, RGBA4444 should be correct as
well.
Also, you should make sure that this works correctly on other platforms too --
especially Android.
Closing for now. Pls reopen if you still face issues.
Original comment by urv...@google.com
on 6 Aug 2015 at 5:49
Yeah, it is necessary on Android as well. (WEBP_SWAP_16BIT_CSP is defined in
the Android makefile already. Whew!)
Original comment by scro...@google.com
on 6 Aug 2015 at 6:25
Original issue reported on code.google.com by
scro...@google.com
on 6 Aug 2015 at 1:39Attachments: