SilverStripe\Assets\InterventionBackend::paddedResize
Return a clone of this image resized, with space filled in with the given colour
Signature
public function paddedResize(int
$width,
int
$height,
[string
$backgroundColor = "FFFFFF",
[integer
$transparencyPercent = 0]] )
Parameters
$width
— int$height
— int$backgroundColor
— string$transparencyPercent
— integer
Returns
- InterventionBackend