Actions
evolution #7696
ouvertGALERIE > Prendre en compte le format .heic des iphones avec sharpJS. Necessite un package supplémentaire à tester.
Début:
25/11/2025
Echéance:
% réalisé:
0%
Temps estimé:
Description
https://github.com/lovell/sharp/issues/4050
I used heic-decode library as workaround.
import decodeHeic from "heic-decode";
const decodedImage = await decodeHeic({
buffer: fileContent,
});
return sharp(decodedImage.data, {
...options,
raw: {
width: decodedImage.width,
height: decodedImage.height,
channels: 4,
},
});
Aucune donnée à afficher
Actions