mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Sharp cannot encode HEVC directly. Use encodeHeic() (same as convert tool) to go through heif-enc. Also decode HEIF before Sharp for preview generation. Hoist NON_PREVIEWABLE set to module scope.