Skip to content

resolveImageEngine

resolveImageEngine(raw): "pngjs" | "sharp"

Defined in: codec.ts:42

The engine named by a raw setting (an option or the STORYSHELF_IMAGE_ENGINE value); blank or missing means the default. An unknown name throws so a typo cannot silently fall back.

string | undefined

"pngjs" | "sharp"