@filerobot/image-annotator
v1.8.1
Published
FilerobotImageEditor integration with filerobotFilerobot
Downloads
149
Keywords
Readme
@filerobot/image-annotator
The image editor plugin provides different functionality for editing the image available in the widget, gives you the possibility to add watermark, text, shapes, edit image by filters, orientations...etc.
Usage
From NPM
The plugin is on NPM as @filerobot/image-annotator
npm install --save @filerobot/image-annotator
then
import ImageAnnotator from '@filerobot/image-annotator'
...
...
...
filerobot.use(ImageAnnotator, optionsObject)
From CDN
The plugin from CDN is found inside Filerobot
global object Filerobot.ImageAnnotator
const ImageAnnotator = window.Filerobot.ImageAnnotator
...
...
...
filerobot.use(ImageAnnotator, optionsObject)
Plugin's styles are auto-loaded and integrated in plugin's js
Options
id: string
(optional)
default: 'ImageAnnotator'
An unique identifier for the plugin to be indentified between the other plugins through it.
locale: object
(optional)
default: default locales inside lib/defaultLocale.js
.
Customizing some of the translations or the language's strings and replace the default locale.
Check the rest of the options available on filerobot-image-annotator