ImgAbout
Repository
https://github.com/livelybone/img-about
ImageCompress
Example
Image Input:
Compress
Download compressed image
原始图片
转换图片
Options
compressType:
scale
fixedWidth
fixedHeight
fixedSize
scale:
imageSize:
imageType:
quality:
toBlob:
toBlob
GetNaturalSize
Example
Get Size
GetNaturalSize by url
Example
Image url:
Get Size