Skip to content

Commit

Permalink
feat(imgix): format keys (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 authored Sep 5, 2021
1 parent e381411 commit ce66fa7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/runtime/providers/imgix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,22 @@ export const operationsGenerator = createOperationsGenerator({
clip: 'clip',
facearea: 'facearea',
fillMax: 'fillmax'
},
// https://docs.imgix.com/apis/rendering/format/fm
format: {
gif: 'gif',
jp2: 'jp2',
jpg: 'jpg',
json: 'json',
jxr: 'jxr',
pjpg: 'pjpg',
mp4: 'mp4',
png: 'png',
png8: 'png8',
png32: 'png32',
webm: 'webm',
webp: 'webp',
blurhash: 'blurhash'
}
},
joinWith: '&',
Expand Down

0 comments on commit ce66fa7

Please sign in to comment.