Merge pull request #164 from C4illin/fix/#163/add-jfif-support
This commit is contained in:
commit
4561ca3760
2 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { exec } from "node:child_process";
|
||||
|
||||
|
||||
// declare possible conversions
|
||||
export const properties = {
|
||||
from: {
|
||||
|
|
@ -138,4 +139,4 @@ export function convert(
|
|||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@ export const normalizeFiletype = (filetype: string): string => {
|
|||
const lowercaseFiletype = filetype.toLowerCase();
|
||||
|
||||
switch (lowercaseFiletype) {
|
||||
case "jfif":
|
||||
case "jpg":
|
||||
return "jpeg";
|
||||
case "htm":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue