Skip to content

Utilities ​

Chevereto uses some command-line utilities to perform certain tasks. These utilities are not required for the basic operation of Chevereto, but they are recommended for optimal performance and functionality.

The binaries should be available at the system path, alternatively you can configure the binary location manually.

FFmpeg ​

ffmpeg ffprobe

Chevereto requires FFmpeg and FFprobe to process video uploads. These tools are used to generate video thumbnails and detect video metadata.

ExifTool ​

exiftool

Chevereto requires ExifTool to lossless strip image metadata.

exiftran ​

exiftran

Chevereto requires exiftran to lossless auto-orientate images.

ImageMagick ​

imagemagick

Chevereto uses ImageMagick as the default image library for its broad format compatibility. Unlike the other utilities, ImageMagick is a shared library loaded through the PHP Imagick extension, so it requires the imagick extension.

Make sure that ImageMagick is compiled with support for the image formats you need (AVIF JXL JPEG PNG BMP GIF WEBP). You can check the supported formats with:

sh
php -r 'print_r(Imagick::queryFormats());'

To explicitly use ImageMagick set the following ENV:

php
CHEVERETO_IMAGE_LIBRARY=imagick

libvips ​

libvips

Chevereto can use libvips as image library for fast and memory efficient image processing. Unlike the other utilities, libvips is a shared library loaded through PHP FFI, so it requires the ffi extension with ffi.enable = true.

To use libvips set the following ENV:

php
CHEVERETO_IMAGE_LIBRARY=vips

Released under the Apache-2.0 License.