Image quality should be maintained.
Image quality gets reduced.
In result function, save the cropped image in original size:
$uploadCrop.croppie('result', {
type: 'blob',
size: 'original',
circle:'false',
format:'png'
}).then(function (resp) {
});
You have to read the documentation, mate. Most of your questions have their answers in it. ;)
Thanks for your help and suggestion. Actually documentation says to set 'quality' between 0 to 1 to get desired result. But this setting 'size' to 'original' worked for me to maintain image quality.
Cool! I'm going to try this. Because it worked for you @sakshisyscom , should this be closed?
Just tried this, looks like it works!
@BVazquezAlvarez Where did you find that in the documentation? I ctrl+f ed and couldn't find it at http://foliotek.github.io/Croppie/
@JoeDuncko http://foliotek.github.io/Croppie/#result -> Ctrl+F -> "size"
RIP me, no idea how I messed that up @thedustinsmith . Though for the record all I ended up doing was doubling my result size from my viewport size, so that it's more like retina quality.
@JoeDuncko Interesting. Could that just be coincidence that your image is twice the size of your viewport?
Most helpful comment
In result function, save the cropped image in original size:
You have to read the documentation, mate. Most of your questions have their answers in it. ;)