Skip to content

Variable: DOCUMENT_CONTENT_TYPES ​

ts
const DOCUMENT_CONTENT_TYPES: readonly ["image/jpeg", "image/png", "image/webp", "application/pdf"];

Content types a client may declare. The stored type is always the sniffed one. HEIC is not accepted: images are re-encoded on ingest and the bundled libvips cannot decode HEVC.

Released under the Apache-2.0 License.