Skip to content

Commit

Permalink
Merge pull request #164 from C4illin/fix/#163/add-jfif-support
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin authored Oct 5, 2024
2 parents 698cce5 + 339b79f commit 4561ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/converters/vips.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { exec } from "node:child_process";


// declare possible conversions
export const properties = {
from: {
Expand Down Expand Up @@ -138,4 +139,4 @@ export function convert(
},
);
});
}
}
1 change: 1 addition & 0 deletions src/helpers/normalizeFiletype.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export const normalizeFiletype = (filetype: string): string => {
const lowercaseFiletype = filetype.toLowerCase();

switch (lowercaseFiletype) {
case "jfif":
case "jpg":
return "jpeg";
case "htm":
Expand Down

0 comments on commit 4561ca3

Please sign in to comment.