
06-25-2013, 03:10 PM
|
|
|
Join Date: Jul 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Ok thank you,
In the meantime it is possible to display white instead of black?
Can be here ?
Quote:
function resize($width,$height) {
$new_image = imagecreatetruecolor($width, $height);
imagecopyresampled($new_image, $this->image, 0, 0, 0, 0, $width, $height, $this->getWidth(), $this->getHeight());
$this->image = $new_image;
}
|
|