Skip to content

ImageSize

github-actions[bot] edited this page May 30, 2026 · 1 revision

moon-cycle v2.0.0


moon-cycle / ImageSize

Type Alias: ImageSize

ImageSize = 256 | 512

Defined in: types.ts:23

Image dimension in pixels (square).

Both values produce square images. Use 256 for thumbnails and smaller displays; use 512 for high-DPI or full-size display contexts.

Example

import type { ImageSize } from 'moon-cycle';
const size: ImageSize = 256;

Clone this wiki locally