Open mufteev opened 7 months ago
Same issue here.
After this commit https://github.com/lovell/sharp/commit/3043e01171756345d5098485d4d95cbe0ca9d8ec compress
option in heic
becomes mandatory.
https://github.com/lovell/sharp/issues/3740
So try to downgrade to sharp to 0.32.6
version
Hi
In version
2.2.1
i get an error when loading an image:I think this is due to the fact that when
sharpInstance
is initialized, thecompression
parameter is not passed forheif
option: https://github.com/marlokessler/strapi-plugin-image-optimizer/blob/26a3212c70d4714859261574cb4c696b8cedcee0/server/services/image-optimizer-service.ts#L128-L138Sharp documentation: https://sharp.pixelplumbing.com/api-output#heif
I use the following plugin configuration: