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

Image Cropping Failure for larger Images #272

Open
Kasperone opened this issue Apr 9, 2024 · 5 comments
Open

Image Cropping Failure for larger Images #272

Kasperone opened this issue Apr 9, 2024 · 5 comments

Comments

@Kasperone
Copy link

Kasperone commented Apr 9, 2024

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,

@Kasperone Kasperone changed the title Image Cropping Failure for Images Above 5.3MB Image Cropping Failure for larger Images Apr 10, 2024
@paweljanikowski
Copy link

+1

@eximius313
Copy link

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

@Norserium
Copy link
Collaborator

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
Copy link

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

@Norserium
Copy link
Collaborator

@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).

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