Skip to content

Commit

Permalink
Adding some more supported image and video formats based on what Obsi…
Browse files Browse the repository at this point in the history
…dian says it supports
  • Loading branch information
TomNCatz committed May 7, 2024
1 parent aa30a03 commit 8ec8add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TechnicalFiles/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const EXTRACT_COLORS_OPTIONS = {

export const MIN_IMAGE_WIDTH = 100;

export const EXTENSIONS = ['png', 'jpg', 'jpeg', "webp", "gif", "webm", 'mp4']
export const EXTENSIONS = ['avif', 'png', 'jpg', 'jpeg', 'svg', 'bmp', "webp", "gif", 'mkv', 'mov', 'ogv', 'webm', 'mp4']

export const CONVERSION_SUPPORT = new RegExp('\\.([pP][nN][gG]|[wW][eE][bB][pP]|[jJ][pP][eE]?[gG])\\?')

Expand Down

0 comments on commit 8ec8add

Please sign in to comment.