/** * Built-in sample images shown in the picker. * * These are generated in-browser (no network, always available). The only * other images in the app are the ones you upload, which are stored locally * in IndexedDB (see imageStore.ts). */ import type { RawImage } from "./imageConvert.ts"; import { gradientImage, shapesImage, checkerImage } from "./synthetic.ts"; export interface SyntheticSample { id: string; name: string; generate: () => RawImage; } export const SAMPLES: SyntheticSample[] = [ { id: "gradient", name: "RGB gradient", generate: () => gradientImage() }, { id: "shapes", name: "Shapes", generate: () => shapesImage() }, { id: "checker", name: "Checkerboard", generate: () => checkerImage() }, ];