Skip to content

armgit / VERT

Public Imported from GitHub
0

The next-generation file converter. Open source, fully local* and free forever.

feat: .bmp support

not-nullptrd75e89e5702c
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];