Skip to content

Commit

Permalink
Bug fix: Change readme error
Browse files Browse the repository at this point in the history
  • Loading branch information
owenlongbo committed Jun 20, 2019
1 parent 46a30e4 commit 7cbfee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7cbfee9

Please sign in to comment.