Incorrect TypeScript type definition?
Closed this issue · 1 comments
declantsien commented
Code snippet
imageMogr2({
"auto-orient": true, // 布尔值,是否根据原图EXIF信息自动旋正,便于后续处理,建议放在首位。
strip: true, // 布尔值,是否去除图片中的元信息
thumbnail: '1000x1000' // 缩放操作参数
crop: '!300x400a10a10', // 裁剪操作参数
gravity: 'NorthWest', // 裁剪锚点参数
quality: 40, // 图片质量,取值范围1-100
rotate: 20, // 旋转角度,取值范围1-360,缺省为不旋转。
format: 'png', // 新图的输出格式,取值范围:jpg,gif,png,webp等
blur: '3x5' // 高斯模糊参数
})
is copied from README here https://github.com/qiniu/js-sdk#qiniuimagemogr2options-object-key-string-domain-string-string-%E5%9B%BE%E5%83%8F%E9%AB%98%E7%BA%A7%E5%A4%84%E7%90%86
qiniu-js version ^3.1.2
declantsien commented
