-
Notifications
You must be signed in to change notification settings - Fork 93
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
Export to PNG or JPG #3
Comments
It shouldn't be a problem since the toDataURL() method of the canvas allows to get the encoded png or jpeg data. This functionality is not yet present in the plugin, though. I'm wondering if it might not be out of its scope. |
Yes yes, toDataUrl() is good solution. Thank you very much. I need to merge the top layer after erase, with the background. But I solved it quickly by your tip. |
great ! |
A good idea is to add two methods: First select the top layer as PNG function getpng(event){ Second merges with the FG and BG chooses them as common picture (here is needed to canvas BG) - this is only idea My simple test: http://test.matj.sk/eraser/ I creating Facebook app for handbag seller. I need dynamically change handbag from the left menu and user can erase area on hand. User also can with drag&drop change position of handbag. Result is shared to Facebook or Email as image. Sorry for my bad english :) |
Hello,
beautiful tool. Is there any way to export the result to PNG or JPG?
The text was updated successfully, but these errors were encountered: