Skip to content

osdlabel

Web-based image annotation library with rich drawing controls, customizable contexts, and built-in serialization. Powered by OpenSeaDragon for deep zoom tiled images, Fabric.js for canvas rendering, and SolidJS for reactive UI.

Deep Zoom Images

Built on OpenSeaDragon for smooth pan/zoom on gigapixel images. Supports DZI tiles and standard image formats.

5 Drawing Tools

Rectangle, circle, line, point, and freehand path tools with full post-creation editing — select, move, resize, rotate.

Multi-Image Grid

View and annotate multiple images simultaneously in a configurable grid layout with filmstrip navigation.

Annotation Contexts

Define per-context tool constraints with count limits, per-image or global scoping, and image-level filtering.

Type-Safe

Strict TypeScript with branded ID types, discriminated union geometries, and full readonly data model.

Serialization

Round-trip JSON serialization with validation. Export and import annotation documents with a single function call.

Terminal window
npm i osdlabel

BSD 3-Clause