1 diff --git a/src/images/SkImageEncoder.cpp b/src/images/SkImageEncoder.cpp
2 index a96a93e0fc..1c110afa58 100644
3 --- a/src/images/SkImageEncoder.cpp
4 +++ b/src/images/SkImageEncoder.cpp
5 @@ -46,6 +46,10 @@ bool SkEncodeImage(SkWStream* dst, const SkPixmap& src,
7 case SkEncodedImageFormat::kPNG: {
8 SkPngEncoder::Options opts;
10 + opts.fFilterFlags = SkPngEncoder::FilterFlag::kNone;
11 + opts.fZLibLevel = 1;
13 return SkPngEncoder::Encode(dst, src, opts);
15 case SkEncodedImageFormat::kWEBP: {