Answer the question
In order to leave comments, you need to log in
How to draw over an uploaded image?
Hello. I use the wysiwyg imperavi editor for yii2 https://github.com/vova07/yii2-imperavi-widget
I needed
the ability to draw simple lines over the uploaded image. I thought to use the drawer plugin under imperavi https://www.drawerjs.com/ for this, but it didn’t even start, maybe I didn’t do something right.
I wondered if there are similar libraries that, before uploading an image to the server, make it possible to draw a couple of lines on it, on the client side? Ideally, as a module / plugin for yii2 or imperavi, but in principle, it doesn’t matter, you can also use a standalone library.
Answer the question
In order to leave comments, you need to log in
On the client: mousedown / mousemove / mouseup
On the server: gd or imagick
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question