dai-siki / vue-image-crop-upload

A beautiful vue component for image cropping and uploading. (vue图片剪裁上传组件)
https://dai-siki.github.io/vue-image-crop-upload/example-2/demo.html
2.09k stars 367 forks source link

Large image (10MP) looks jagged on resize #38

Open saqueib opened 7 years ago

saqueib commented 7 years ago

on resizing big image canvas default algorithm makes images look very ugly and jagged. I found out you can use https://github.com/danschumann/limby-resize to resize it smoothly without any artifacts in resized image. here is a demo, select a fairly large image (4000px wide) and see how it looks, this algorithm is not as fast as canvas default but its output image is very clean.

Please see if you can incorporate this or give an option if the user has limby-resize installed use this instead.

j-shelfwood commented 7 years ago

I totally second this. I'm using this for a project where people upload images made with their phone. I'm noticing that the image quality is quite terrible.