4.6.201909161535 • Published 5 years ago
@dfeidao/fd-am000038 v4.6.201909161535
图片压缩
Installation
yarn add --dev @dfeidao/fd-am000038
Example
import am038 from '@dfeidao/fd-am000038'
export default async function a001(fd: IFeidaoAiMobile) {
const res1 = await am038('http://xxxx', 500, 500, 1);
// or
const res2 = await am038('data:image/png;base64,/xxxxxxxxx', 500, 500, 1);
}
4.6.201909161535
5 years ago
4.6.201908010929
5 years ago