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 size problem #566

Open
bilalmalkoc opened this issue Mar 28, 2021 · 10 comments
Open

Image size problem #566

bilalmalkoc opened this issue Mar 28, 2021 · 10 comments
Labels

Comments

@bilalmalkoc
Copy link

bilalmalkoc commented Mar 28, 2021

When i edit any image, it's size will be huge. I put 195KB image, after TUI editor without any filter (just load and downlad) it's size goes 2.2MB.

@bilalmalkoc bilalmalkoc changed the title Encode plugin not working with server option Image size problem Mar 28, 2021
@lja1018
Copy link
Contributor

lja1018 commented Mar 31, 2021

@bilalmalkoc
Thank you for the bug report. I will resolve it after checking.

@ntehah
Copy link

ntehah commented Apr 3, 2021

same error in size image

@marcodafonseca
Copy link

+1 - Same issue

@haiduong87
Copy link

+1 2mb > 20mb

@haiduong87
Copy link

haiduong87 commented Apr 9, 2021

Check this
fabricjs/fabric.js#4906
Proposal to fix (https://github.com/nhn/tui.image-editor/blob/master/apps/image-editor/src/js/action.js#L148):
image

But I'll stick with my own solution #568
I will handle the download in custom function

@talyosha
Copy link

+1

1 similar comment
@toraji1
Copy link

toraji1 commented May 1, 2021

+1

@bilalmalkoc
Copy link
Author

Hello. Any news?

@lja1018
Copy link
Contributor

lja1018 commented Jun 10, 2021

@bilalmalkoc
I haven't fixed that bug yet. Can you contribute it?

@serhsavchuk
Copy link

serhsavchuk commented Oct 31, 2023

As a temporary solution we can use an instance method toDataUrl link to the method
In this method we can reduce the size of the image

It will look something like this:
imageEditor.toDataURL({ format: 'jpeg', quality: 0.5 });

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

No branches or pull requests

8 participants