This project is not covered by Drupal’s security advisory policy.

An image toolkit that generates image style derivatives with Imageflow. This is an alternative to GD or Imagick.

In benchmarks, scaling large JPEG photos to thumbnail sizes, Imageflow is getting better performance than library like GD or Imagick.

Requirements

  • Drupal 11.3 or later
  • Image resizer
  • The imageflow_tool binary, version 2.3.1 or later, from the Imageflow releases
  • proc_open() enabled in PHP, and GD for the fallback

Please note that lots of hosting providers will not allow you to install a binary library such as imageflow_tool. You might not be able to set it up on some hosting providers or need to create a support ticket.

Installation

  1. Put imageflow_tool on the server, for example at /usr/local/bin/imageflow_tool, and make it executable.
  2. composer require drupal/imageflow_toolkit, then drush en imageflow_toolkit.
  3. At Configuration > Media > Image toolkit, select Imageflow, check the path to the binary, and save. The status report shows the Imageflow version.

Settings

JPEG quality, WebP quality, JPEG encoder (speed or smallest files), and size limits for source images. The binary path can be overridden per environment in settings.php.

Disclaimer

This module has been partially written using the help of AI.

Project information

  • Project categories: Media
  • Created by phjou on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases