Skip to content

Commit

Permalink
Add avif to supported image types
Browse files Browse the repository at this point in the history
  • Loading branch information
floogulinc committed Dec 23, 2023
1 parent 2aa8dcc commit 9d16be6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hydrus-file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ export function type(mime: string): HydrusFileType {
'image/gif',
'image/bmp',
'image/webp',
'image/avif',
'image/avif-sequence',
].includes(mime)
) {
return HydrusFileType.Image;
Expand Down

0 comments on commit 9d16be6

Please sign in to comment.