Installation
You can install Annotorious with a package manager like npm, or import it into your HTML page
using a <script>
tag.
Vanilla JavaScript
To annotate JPEG or PNG images using plain JavaScript, install the standard version of Annotorious.
To annotate zoomable images in OpenSeadragon, install the OpenSeadragon plugin version of Annotorious.
Script Import
To use the standard version of Annotorious without a bundler, import the
script and the stylesheet file into the <head>
of your HTML page.
To use the OpenSeadragon version without a bundler:
React
To use Annotorious with React, install the React bindings package. Note that the package includes bindings for the standard version of Annotorious as well as OpenSeadragon.
Svelte
To use Annotorious with Svelte, install the Svelte bindings package. Note that the package includes bindings for the standard version of Annotorious as well as the OpenSeadragon plugin.
Using Annotorious
To learn more about how to use Annotorious with the framework of your choice, see the following guides: