Help with imagecreatefrompng
Posted: Fri Aug 09, 2002 1:24 pm
I am trying to learn php. Was doing just find until I tried to use imagecreatefrompng.
Specs: Running on W2K with 256k memory. Apache/PHP/mySQL
Code:
$fontfile="http://nest/public/kazaam/Arial.ttf";
do
{
$font_size--;
$bbox=imagettfbbox ($font_size, 0, $fontfile, $button_text);
I get the following error on the last line of code.
Warning: Could not find/open font in c:\phpdev\www\public\kazaam\make_button.php on line 32
Specs: Running on W2K with 256k memory. Apache/PHP/mySQL
Code:
$fontfile="http://nest/public/kazaam/Arial.ttf";
do
{
$font_size--;
$bbox=imagettfbbox ($font_size, 0, $fontfile, $button_text);
I get the following error on the last line of code.
Warning: Could not find/open font in c:\phpdev\www\public\kazaam\make_button.php on line 32