ImageSizerEngine::convertToGreyscale()

Convert image to greyscale

Usage

// basic usage
$bool = $imageSizerEngine->convertToGreyscale();

// usage with all arguments
$bool = $imageSizerEngine->convertToGreyscale(string $dstFilename = '');

Arguments

NameType(s)Description
$dstFilename (optional)string

If different from source file

Return value

bool


ImageSizerEngine methods and properties

API reference based on ProcessWire core version 3.0.251