feat(export): add export options (PNG, text, HTML)

This commit is contained in:
syntaxbullet
2026-02-09 22:37:53 +01:00
parent a137a98377
commit ea05b814b4
5 changed files with 289 additions and 17 deletions

View File

@@ -42,6 +42,21 @@ export interface ImageMetadata {
has_fine_detail?: boolean;
}
export interface AsciiSettings {
exposure: number;
contrast: number;
saturation: number;
gamma: number;
invert: boolean;
color: boolean;
dither: number;
denoise: boolean;
edgeMode: number;
overlayStrength: number;
resolution: number;
charSet: CharSetKey;
}
// ============= Constants =============
export const CHAR_SETS: Record<CharSetKey, string> = {