Skip to content

armgit / VERT

Public Imported from GitHub
0

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

fix: vectorizer taking priority over real image engines

JovannMCdc6830ce5cda
diff --git a/src/lib/types/file.svelte.ts b/src/lib/types/file.svelte.ts
index 80a3e67..18e51d3 100644
--- a/src/lib/types/file.svelte.ts
+++ b/src/lib/types/file.svelte.ts
@@ -232,6 +232,8 @@ export class VertFile {
(f) => f.name === this.to,
);
if (!theirFrom || !theirTo) return false;
+ if (!theirFrom.fromSupported || !theirTo.toSupported)
+ return false;
if (!theirFrom.isNative && !theirTo.isNative) return false;
}