|
@@ -10,6 +10,7 @@ import { convert as convertImage, properties as propertiesImage } from "./vips";
|
|
import { convert as convertxelatex, properties as propertiesxelatex } from "./xelatex";
|
|
import { convert as convertxelatex, properties as propertiesxelatex } from "./xelatex";
|
|
// import { convert as convertCalibre, properties as propertiesCalibre } from "./calibre";
|
|
// import { convert as convertCalibre, properties as propertiesCalibre } from "./calibre";
|
|
import { convert as convertLibheif, properties as propertiesLibheif } from "./libheif";
|
|
import { convert as convertLibheif, properties as propertiesLibheif } from "./libheif";
|
|
|
|
+import { convert as convertpotrace, properties as propertiespotrace } from "./potrace";
|
|
|
|
|
|
|
|
|
|
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
|
|
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
|
|
@@ -86,6 +87,10 @@ const properties: Record<
|
|
properties: propertiesFFmpeg,
|
|
properties: propertiesFFmpeg,
|
|
converter: convertFFmpeg,
|
|
converter: convertFFmpeg,
|
|
},
|
|
},
|
|
|
|
+ potrace: {
|
|
|
|
+ properties: propertiespotrace,
|
|
|
|
+ converter: convertpotrace,
|
|
|
|
+ },
|
|
};
|
|
};
|
|
|
|
|
|
export async function mainConverter(
|
|
export async function mainConverter(
|