DescriptionSupport wbmp that are supported by SkImageDecoder
The wbmp version of SkImageDecoder will support decoding an image where
the second byte can be masked away with 0x9F. Prior to this CL, SkCodec
checked that the entire byte was zero. The SkCodec implementation
appears to be more correct (at least according to Wikipedia [1]), but
it also means we could regress if someone was using an image that did
not quite fit the specification.
[1] https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format
BUG=skia:3257
Committed: https://skia.googlesource.com/skia/+/b9a1e34362c282e21d9e99edededf987a48e98de
Patch Set 1 #
Total comments: 3
Dependent Patchsets: Messages
Total messages: 9 (3 generated)
|