feat: Expand supported image and audio formats, update UI color palette, and refresh application assets.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user