feat: add libjxl for jpegxl conversion
This commit is contained in:
parent
31e1a3124c
commit
ff680cb295
4 changed files with 138 additions and 7 deletions
|
|
@ -20,6 +20,11 @@ import {
|
|||
properties as propertiesPdflatex,
|
||||
} from "./pdflatex";
|
||||
|
||||
import {
|
||||
convert as convertLibjxl,
|
||||
properties as propertiesLibjxl,
|
||||
} from "./libjxl";
|
||||
|
||||
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
|
||||
|
|
@ -50,6 +55,10 @@ const properties: {
|
|||
) => any;
|
||||
};
|
||||
} = {
|
||||
libjxl: {
|
||||
properties: propertiesLibjxl,
|
||||
converter: convertLibjxl,
|
||||
},
|
||||
vips: {
|
||||
properties: propertiesImage,
|
||||
converter: convertImage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue