From d75e89e5702cb3ae465f62fb426ac9d7c74ff7b5 Mon Sep 17 00:00:00 2001 From: not-nullptr <62841684+not-nullptr@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:36:06 +0100 Subject: [PATCH] feat: .bmp support --- src/lib/converters/vips.svelte.ts | 1 + src/lib/workers/vips.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/lib/converters/vips.svelte.ts b/src/lib/converters/vips.svelte.ts index bbbec7e..1093cf3 100644 --- a/src/lib/converters/vips.svelte.ts +++ b/src/lib/converters/vips.svelte.ts @@ -24,6 +24,7 @@ export class VipsConverter extends Converter { new FormatInfo("gif", true, true), new FormatInfo("heic", true, false), new FormatInfo("ico", true, false), + new FormatInfo("bmp", true, false), new FormatInfo("cur", true, false), new FormatInfo("ani", true, false), new FormatInfo("icns", true, false), diff --git a/src/lib/workers/vips.ts b/src/lib/workers/vips.ts index f38bede..4e005d3 100644 --- a/src/lib/workers/vips.ts +++ b/src/lib/workers/vips.ts @@ -26,6 +26,7 @@ const magickRequiredFormats = [ ".ani", ".cr2", ".nef", + ".bmp", ]; const unsupportedFrom: string[] = []; const unsupportedTo = [...magickRequiredFormats];