feat: Expand supported image and audio formats, update UI color palette, and refresh application assets.

This commit is contained in:
2026-01-30 14:58:14 +01:00
parent 95ee627f1d
commit 76198f28c5
10 changed files with 162 additions and 42 deletions

View File

@@ -17,8 +17,11 @@ import type { ImageConverterWorker } from '../workers/image.worker';
// Formats heic2any can directly output
const HEIC2ANY_OUTPUTS: ImageFormat[] = ['jpeg', 'png'];
// All image formats we support as final output
const ALL_IMAGE_OUTPUTS: ImageFormat[] = ['jpeg', 'png', 'webp', 'gif', 'bmp', 'tiff', 'ico'];
// All image formats we support as final output (via two-step conversion)
const ALL_IMAGE_OUTPUTS: ImageFormat[] = [
'jpeg', 'png', 'webp', 'gif', 'bmp', 'tiff', 'ico',
'avif', 'jxl', 'svg', 'psd', 'tga'
];
type WorkerType = Comlink.Remote<ImageConverterWorker>;
let workerInstance: WorkerType | null = null;