tui.image-editor
tui.image-editor copied to clipboard
Image size problem
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 Thank you for the bug report. I will resolve it after checking.
same error in size image
+1 - Same issue
+1 2mb > 20mb
Check this
https://github.com/fabricjs/fabric.js/issues/4906
Proposal to fix (https://github.com/nhn/tui.image-editor/blob/master/apps/image-editor/src/js/action.js#L148):

But I'll stick with my own solution https://github.com/nhn/tui.image-editor/pull/568 I will handle the download in custom function
+1
+1
Hello. Any news?
@bilalmalkoc I haven't fixed that bug yet. Can you contribute it?
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 });