-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Free drawing over non-transparent .PNG file parts #6964
Comments
No globalComposite operation won't work because the drawing happens on a separate layer and gets merged later. |
Thank you for the answer. I tried clipping with the image but it doesn't seem to work like this. Here is the jsfiddle link https://jsfiddle.net/PhilCliv/dpf840qn/14/
|
Or would this approach work as well with Fabric.js ? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The globalCompositeOperation in DrawingMode seems not to be working the way I expect. Or my approach is wrong.
I'm trying to do free drawing only on non-transparent parts of a PNG image.
I've been doing deep searches on how to make it work but with no success. Here is what I have so far:
Here is an example of the result I would like to have, but it's working in native canvas (without Fabric.js) https://stackoverflow.com/a/49228110/6660372
Any suggestions for a solution using Fabric.js? Thank you!
The text was updated successfully, but these errors were encountered: