Drivers

Last updated: August 20th 2026
Super Images can process pixels with libvips, Imagick, or GD.
'driver' => 'auto', // or libvips | imagick | gd

Auto fallback

Order: libvips → Imagick → GD.

auto (and an unavailable explicit driver) picks the first driver that is actually usable:

DriverAvailable when
libvipsphp-vips class exists, FFI is enabled for the SAPI, and the native library loads (libvips.42.dylib / libvips.so.42)
Imagickimagick PHP extension + Imagick class
GDgd PHP extension

The Composer package jcupitt/vips can be present in vendor/ while the native library is missing. Availability probes the dylib; it does not treat “PHP class exists” as enough.

If libvips still throws “Unable to open library …” at generate time, that driver is marked unusable for the rest of the request and generation replans on Imagick or GD.

Explicit preference

If you set 'driver' => 'libvips' and the dylib cannot load, Super Images logs a warning and falls through the same order so playground and tags keep working.

Install native libvips (and set ffi.enable=true for that PHP SAPI) when you want libvips in production.

Feature notes

FeatureTypical driver
fit / crop / fill / resize / scale / flipAll
rotate with backgroundImagick preferred
sepia / saturationImagick
watermark (text or image), overlay, textImagick
blur / sharpen / brightness / contrastAll (options differ)
Sepia threshold is 0–100; ~80 is the classic look.
Verify with:
php eecli.php super_images:doctor

CP → Super Images → Diagnostics lists each driver as available or not, plus the selected driver.