fix: add libheif

issue #202
This commit is contained in:
C4illin 2025-02-12 21:06:27 +01:00
parent eacded6848
commit decfea5dc9
4 changed files with 62 additions and 1 deletions

View file

@ -9,6 +9,7 @@ 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 convertCalibre, properties as propertiesCalibre } from "./calibre";
import { convert as convertLibheif, properties as propertiesLibheif } from "./libheif";
// This should probably be reconstructed so that the functions are not imported instead the functions hook into this to make the converters more modular
@ -49,6 +50,10 @@ const properties: Record<
properties: propertiesresvg,
converter: convertresvg,
},
libheif: {
properties: propertiesLibheif,
converter: convertLibheif,
},
vips: {
properties: propertiesImage,
converter: convertImage,