I have an app which let users draw image with camera by showing image on CameraPreview widget with less opacity so user can trace the image anywhere.
When user select an image from gallery I want to let them create it into line art where only line or strokes of the image is visible and the background of the image is transparent. Something like this.
I have tried to find how to do this and I found ImageFilter widget which did not help.
Please help me, Thank you.
2
Answers
Try this code:
one other function using flutter_image_filters