feat: add resvg converter
This commit is contained in:
parent
7456174022
commit
d5eeef9f68
5 changed files with 70 additions and 1 deletions
|
|
@ -25,6 +25,11 @@ import {
|
|||
properties as propertiesLibjxl,
|
||||
} from "./libjxl";
|
||||
|
||||
import {
|
||||
convert as convertresvg,
|
||||
properties as propertiesresvg,
|
||||
} from "./resvg";
|
||||
|
||||
import { normalizeFiletype } from "../helpers/normalizeFiletype";
|
||||
|
||||
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
|
||||
|
|
@ -59,6 +64,10 @@ const properties: {
|
|||
properties: propertiesLibjxl,
|
||||
converter: convertLibjxl,
|
||||
},
|
||||
resvg: {
|
||||
properties: propertiesresvg,
|
||||
converter: convertresvg,
|
||||
},
|
||||
vips: {
|
||||
properties: propertiesImage,
|
||||
converter: convertImage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue