Merge pull request #164 from C4illin/fix/#163/add-jfif-support

This commit is contained in:
Emrik Östling
2024-10-06 00:48:46 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import { exec } from "node:child_process";
// declare possible conversions
export const properties = {
from: {
@@ -138,4 +139,4 @@ export function convert(
},
);
});
}
}
+1
View File
@@ -2,6 +2,7 @@ export const normalizeFiletype = (filetype: string): string => {
const lowercaseFiletype = filetype.toLowerCase();
switch (lowercaseFiletype) {
case "jfif":
case "jpg":
return "jpeg";
case "htm":