mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
f23526d08f
@ -184,7 +184,7 @@ class ImagickBackend extends Imagick implements Image_Backend {
|
|||||||
* @param int $height
|
* @param int $height
|
||||||
* @return Image_Backend
|
* @return Image_Backend
|
||||||
*/
|
*/
|
||||||
public function paddedResize($width, $height, $backgroundColor = "FFFFFF") {
|
public function paddedResize($width, $height, $backgroundColor = "#FFFFFF00") {
|
||||||
if(!$this->valid()) return;
|
if(!$this->valid()) return;
|
||||||
|
|
||||||
$width = round($width);
|
$width = round($width);
|
||||||
|
Loading…
Reference in New Issue
Block a user