Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Issue 1473673005: Support wbmp that are supported by SkImageDecoder (Closed)

Created:
5 years ago by scroggo
Modified:
5 years ago
Reviewers:
msarett
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Support 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -4 lines) Patch
M src/codec/SkCodec_wbmp.cpp View 2 chunks +15 lines, -4 lines 0 comments Download
M tests/CodexTest.cpp View 2 chunks +32 lines, -0 lines 3 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (3 generated)
scroggo
5 years ago (2015-11-25 19:09:35 UTC) #2
msarett
lgtm https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp#newcode856 tests/CodexTest.cpp:856: const char* path = "mandrill.wbmp"; Did we fail ...
5 years ago (2015-11-30 13:24:55 UTC) #3
scroggo
https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp#newcode856 tests/CodexTest.cpp:856: const char* path = "mandrill.wbmp"; On 2015/11/30 13:24:55, msarett ...
5 years ago (2015-11-30 13:48:13 UTC) #4
msarett
https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp File tests/CodexTest.cpp (right): https://codereview.chromium.org/1473673005/diff/1/tests/CodexTest.cpp#newcode856 tests/CodexTest.cpp:856: const char* path = "mandrill.wbmp"; On 2015/11/30 13:48:13, scroggo ...
5 years ago (2015-11-30 14:00:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473673005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473673005/1
5 years ago (2015-11-30 14:13:04 UTC) #7
commit-bot: I haz the power
5 years ago (2015-11-30 14:25:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/b9a1e34362c282e21d9e99edededf987a48e98de

Powered by Google App Engine
This is Rietveld 408576698