Add bitdepth option to heif output (#4036)

Prebuilt binaries support only AVIF with a bitdepth of 8
This commit is contained in:
Mert
2024-03-21 10:36:17 -04:00
committed by GitHub
parent dc07fd4e9c
commit 3c26080c39
7 changed files with 35 additions and 2 deletions

View File

@@ -325,6 +325,7 @@ const Sharp = function (input, options) {
heifCompression: 'av1',
heifEffort: 4,
heifChromaSubsampling: '4:4:4',
heifBitdepth: 8,
jxlDistance: 1,
jxlDecodingTier: 0,
jxlEffort: 7,