Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

裁剪之后比原图大很多怎么处理 #36

Open
maoruibin001 opened this issue Nov 23, 2018 · 3 comments
Open

裁剪之后比原图大很多怎么处理 #36

maoruibin001 opened this issue Nov 23, 2018 · 3 comments

Comments

@maoruibin001
Copy link

如题

@jianggle
Copy link
Contributor

有个参数output 输出的倍率。比如如果output为2,选区的宽300,选区的高100,输出的图像的分辨率为 (2×300,2×100)

@ziqiming
Copy link

打开 Alloy-Crop.js 找到 this.type = option.type || "png"; 改成 this.type = option.type || "jpeg";

@haohao809
Copy link

图片确实被拉伸了好多,失真了,有办法处理吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants