ImageSizer::sharpeningValueStr() method

Given an unknown sharpening value, return the string representation of it

Okay for use in filenames. Method added by

Usage

// basic usage
$string = ImageSizer::sharpeningValueStr($value);

// usage with all arguments
$string = ImageSizer::sharpeningValueStr($value, bool $short = false);

Arguments

NameType(s)Description
valuestring, bool
short (optional)bool

Return value

string


ImageSizer methods and properties

API reference based on ProcessWire core version 3.0.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits