|
Posted by £ukasz 'nostra' Wojciechowski on 10/19/05 15:07
W odpowiedzi na maila (21:21 - 18 paΕΊdziernika 2005):
> $im = imagecreatetruecolor ( 140, 140 );
> $bg = imagecolorallocate ( $im, 255, 255, 255 );
> $orgimg = imagecreatefromjpeg ( $image_data['image'] );
> imagecopyresampled ( $im, $orgimg, $thumb_x_offset, $thumb_y_offset, 0,
> 0, $new_thumb_x, $new_thumb_y, $image_data['image_x'],
> $image_data['image_y'] );
try to add imagefill($im, 0, 0, $bg); after defining $bg ... (line 2?)
--
pozdrawiam
Εukasz "nostra" Wojciechowski
gg.1028640 * icq.23059512
Navigation:
[Reply to this message]
|