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 Annotorious standard package.
To annotate zoomable images in OpenSeadragon, install the OpenSeadragon package.
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 Annotorious React package. Note that this package includes bindings for the standard version of Annotorious as well as OpenSeadragon.
Svelte
To use Annotorious with Svelte, install the Svelte package. Note that the package includes bindings for the standard version of Annotorious as well as OpenSeadragon.
Using Annotorious
To learn more about how to use Annotorious with the framework of your choice, see the following guides: