[Tool/Web/Other] [PHP]ImagePNG not creating imagefile?
#8

Код:
$fontfile = "./novamono.ttf";
$size = 25;
$x = 385;
$y = 25;
$im = imagecreatefrompng("show.png");
imagealphablending($im, true);
imagesavealpha($im, true);
$color = ImageColorAllocate($im, 255, 255, 255);
header("Content-Type: image/png");
ImageTTFText($im, $size, 0, $x, $y, $color, $fontfile, $_GET['text']);
ImagePNG($im,'lol.png'); //lol.png just for test
Reply


Messages In This Thread
[PHP]ImagePNG not creating imagefile? - by saiberfun - 20.02.2010, 18:41
Re: [PHP]ImagePNG not creating imagefile? - by gotenks918 - 20.02.2010, 18:53
Re: [PHP]ImagePNG not creating imagefile? - by saiberfun - 20.02.2010, 19:38
Re: [PHP]ImagePNG not creating imagefile? - by Donny_k - 20.02.2010, 19:46
Re: [PHP]ImagePNG not creating imagefile? - by saiberfun - 20.02.2010, 20:12
Re: [PHP]ImagePNG not creating imagefile? - by Blantas - 20.02.2010, 20:22
Re: [PHP]ImagePNG not creating imagefile? - by gotenks918 - 20.02.2010, 20:25
Re: [PHP]ImagePNG not creating imagefile? - by saiberfun - 20.02.2010, 20:58
Re: [PHP]ImagePNG not creating imagefile? - by Norn - 21.02.2010, 00:16
Re: [PHP]ImagePNG not creating imagefile? - by iLinx - 21.02.2010, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)