On Tue, October 18, 2005 2:21 pm, John Nichel wrote:
> I'm diving into the gd functions for the first time, and I'm having a
> problem creating a white background for an image when using
> imagecreatetruecolor(). The manual says that this function will
> create
> a _black_ image, but looking at im
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
John Nichel wrote:
I'm diving into the gd functions for the first time, and I'm having a
problem creating a white background for an image when using
imagecreatetruecolor(). The manual says that this function will create
a _black_ image, but looking at imagecolorallocate() it says that the
fir
3 matches
Mail list logo