ImageSizerEngine::setWebpAdd()

Set flag to also create a webp file or not

Usage

// basic usage
$self = $imageSizerEngine->setWebpAdd(bool $webpAdd);

// usage with all arguments
$self = $imageSizerEngine->setWebpAdd(bool $webpAdd, $webpOnly = null);

Arguments

NameType(s)Description
$webpAddbool
$webpOnly (optional)bool null

Return value

self


ImageSizerEngine methods and properties

API reference based on ProcessWire core version 3.0.251