Skip to content

ShelfImagesOptions

Defined in: packages/core/src/config.ts:372

Image-handling options: which library decodes, encodes and resizes the PNGs.

optional engine?: "pngjs" | "sharp"

Defined in: packages/core/src/config.ts:379

Image library for diffs, diff overlays and AI thumbnails: "pngjs" (default, pure JavaScript, runs anywhere) or "sharp" (native, several times faster on large PNGs; needs the optional sharp package installed). Falls back to STORYSHELF_IMAGE_ENGINE. The pixel comparison is pixelmatch either way, so verdicts match.