UNPKG

cozy-iiif

Version:

A developer-friendly collection of abstractions and utilities built on top of @iiif/presentation-3 and @iiif/parser

6 lines (5 loc) 363 B
import { Canvas } from '@iiif/presentation-3'; import { CozyImageResource } from '../types'; export declare const getThumbnailURL: (canvas: Canvas, images?: CozyImageResource[]) => (minSize?: number) => string | undefined; export declare const normalizeServiceUrl: (url: string) => string; export declare const getImages: (canvas: Canvas) => CozyImageResource[];