advanced-cropper / vue-advanced-cropper

The advanced vue cropper library that gives you opportunity to create your own croppers suited for any website design
https://advanced-cropper.github.io/vue-advanced-cropper/
Other
930 stars 128 forks source link

Image Cropping Failure for larger Images #272

Open Kasperone opened 2 months ago

Kasperone commented 2 months ago

Adding payload.image.toBlob((blob) => resolve(blob), 'image/png') resulted in unexpected image size increase, e.g., from 6.2MB to 14.4MB.

Thank you for your attention to this matter. Let me know if you need further clarification or assistance in resolving this issue.

Best regards,

paweljanikowski commented 2 months ago

+1

eximius313 commented 1 month ago

Having the same issue @Norserium - do you have any clues on how to make it work?

Norserium commented 3 weeks ago

Adding payload.image.toBlob((blob) => resolve(blob), 'image/png') resulted in unexpected image size increase, e.g., from 6.2MB to 14.4MB.

@Kasperone, @paweljanikowski, @eximius313, I've answered to the similar question here.

eximius313 commented 3 weeks ago

I understand, that size can be slightly different, but are you sure @Norserium that 14MB from 6MB is normal?

Norserium commented 3 weeks ago

@eximius313, well, if you upload the jpeg image and get the result as png image it will have much more size than original image (nothing surprising, png has lossless compression, jpg has lossy compression).