From 7cbfee9b71754fc7c2c00d9716e64c02751cae27 Mon Sep 17 00:00:00 2001 From: Aon Date: Fri, 21 Jun 2019 01:36:30 +0800 Subject: [PATCH] Bug fix: Change readme error --- README-CN.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README-CN.md b/README-CN.md index 412c89b..2123a18 100644 --- a/README-CN.md +++ b/README-CN.md @@ -84,7 +84,7 @@ mctools ```groovy McImageConfig { isCheckSize true //是否检测图片大小,默认为true - optimizeType "ConertWebp" //优化类型,可选"ConvertWebp","Compress",转换为webp或原图压缩,默认ConvertWebp,压缩比更高 + optimizeType "ConertWebp" //优化类型,可选"ConvertWebp","Compress",转换为webp或原图压缩,默认Compress,使用ConvertWep需要min sdk >= 18.但是压缩效果更好 maxSize 1*1024*1024 //大图片阈值,default 1MB enableWhenDebug false //debug下是否可用,default true isCheckPixels true // 是否检测大像素图片,default true diff --git a/README.md b/README.md index 9a25331..bdb551b 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ You can set the config in build.gradle.If you not set this,all config will use d ```groovy McImageConfig { isCheckSize true //Whether to detect image size,default true - optimizeType "ConertWebp" //Optimize Type,"ConvertWebp" or "Compress",default "ConvertWebp" + optimizeType "ConertWebp" //Optimize Type,"ConvertWebp" or "Compress",default "Compress", "CompressWebp" is a better compression ratio but it don't support api < 18 maxSize 1*1024*1024 //big image size threshold,default 1MB enableWhenDebug false //swithc in debug build,default true isCheckPixels true // Whether to detect image pixels of width and height,default true