Skip to content

Commit 2cc2a17

Browse files
committed
Removed HEIF image compression not supported fully by Sharp
https://sharp.pixelplumbing.com/api-output#tobuffer
1 parent af78c8f commit 2cc2a17

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

utilities/sharp.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ export async function compressFile(
4141
// https://sharp.pixelplumbing.com/api-output#avif
4242
instance.avif( { quality: COMPRESSION_QUALITY } );
4343
break;
44-
case "heif":
45-
// https://sharp.pixelplumbing.com/api-output#heif
46-
instance.heif( { quality: COMPRESSION_QUALITY } );
47-
break;
4844
default:
4945
// Si l'extension n'est pas reconnue, on retourne la
5046
// mémoire tampon telle quelle avant modification.

0 commit comments

Comments
 (0)