The Painterro is a simple but powerful embeddable open-source JS paint for any website or webapp.
It allows very fast processing of raster images. Here we will review the features.
🖼 By default selection tool is active, so you can start selecting interesting area just after you opened file in Painterro (which could be triggered by
document.onpaste for example).
After selecting the area which you want to leave on image, just press crop once:
Or even simpler - just press
[C] on keyboard.
By the way, to learn what shortcout is used - just hover on tool and check the hint:
🕶 If you accidantly got a sensitive information on image or screenshot which you want to hide just select it:
And press P:
Line, Rectangle, Circle primitives in js paint
⬛ One of the most common scenario for js paint librarry - is to highlight an objects on the image. You can do it with underlinining, or wrapping in rectangle/circle:
You can disable shadows:
You can select line and fill color for a tool, also it supports alpha channel:
Line width is also adjustable, e.g. here I drawn semi-transparent pink rectangle with
↗ Arrows a great tool to define something on image. Since this post created on HINTY platform, here we also have a painterro inside of our editor.
Here you can control line width and arrow length:
🔠 Adding a text - is required feature for any JS paint. Just press T, click on the place where you want to add a test and start typing:
Formatting support? Yes!
Select a text inside and press
As an author of Painterro, I did not want to limit you in formatting, so you can even copy a HTML-formatted text for example, create it in Google Docs:
And just copy-paste it to activaed text tool:
Rotating, resizing and scaling
For simplisity purpose we have only 90 degree rotation. Rich us on github issues if you need different angles😉
To increase or decrease image resolution you can use
If you need just resize image and feel with empty color, use
📱Sure - we use simple toollbar swipe so you can work on smaller devices:
Technicall requirements of Painterro js paint
- Could be connected with js
<script>tag or by npm install for SPA
- No dependencies
- Simple configuration
- Live demo on HINTY - simple sign up needed
- Project source is hosted on GitHub
- Project npm package
- Dedicated wordpress Paintrro plugin