This plugin automatically converts .heic
files to .jpg
after upload.
It needs the heif-convert
binary from libheif, it is included in the libheif-examples
package in Debian Bullseye for example.
- Install the plugin
- In
config.php
add the following config option:
'heic-convert.path' => '/path/to/heif-convert',
- You'll also need to allow
.heic
files to be uploaded. Create a files blueprint atsite/blueprints/files
, e.g.default.yml
and add:
accept:
extension: jpg, png, jpeg, heic, mov, m4v
MIT