Skip to content

Commit 8a0bdfb

Browse files
committed
开启gif和wbmp
1 parent 6f2f65d commit 8a0bdfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

skia/src/codec/SkCodec.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ static std::vector<DecoderProc>* decoders() {
4646
#ifdef SK_HAS_WUFFS_LIBRARY
4747
{ SkWuffsCodec_IsFormat, SkWuffsCodec_MakeFromStream },
4848
#else
49-
//{ SkGifCodec::IsGif, SkGifCodec::MakeFromStream },
49+
{ SkGifCodec::IsGif, SkGifCodec::MakeFromStream },
5050
#endif
5151
#ifdef SK_HAS_PNG_LIBRARY
5252
{ SkIcoCodec::IsIco, SkIcoCodec::MakeFromStream },
5353
#endif
5454
{ SkBmpCodec::IsBmp, SkBmpCodec::MakeFromStream },
55-
//{ SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream },
55+
{ SkWbmpCodec::IsWbmp, SkWbmpCodec::MakeFromStream },
5656
#ifdef SK_HAS_HEIF_LIBRARY
5757
{ SkHeifCodec::IsHeif, SkHeifCodec::MakeFromStream },
5858
#endif

0 commit comments

Comments
 (0)