vtracer implementation in converter directory
This commit is contained in:
parent
554edf5a27
commit
e78de6f6de
2 changed files with 97 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ import { convert as convertPotrace, properties as propertiesPotrace } from "./po
|
|||
import { convert as convertresvg, properties as propertiesresvg } from "./resvg";
|
||||
import { convert as convertImage, properties as propertiesImage } from "./vips";
|
||||
import { convert as convertxelatex, properties as propertiesxelatex } from "./xelatex";
|
||||
import {convert as convertVtracer, properties as propertiesVtracer} from './vtracer';
|
||||
|
||||
|
||||
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
|
||||
|
||||
|
|
@ -117,6 +119,10 @@ const properties: Record<
|
|||
properties: propertiesPotrace,
|
||||
converter: convertPotrace,
|
||||
},
|
||||
vtracer: {
|
||||
properties: propertiesVtracer,
|
||||
converter: convertVtracer,
|
||||
}
|
||||
};
|
||||
|
||||
function chunks<T>(arr: T[], size: number): T[][] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue