The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
$font = "usr/local/jdk121_pre-v1/ jre/lib/fonts/VerdanaRegular.ttf";
(spaces)
*later o in the script*
imagettftext( $image, 50, 0, 20, 100, $blue, $font, "Welcome!" );
This doesn't seem to work, not only does it say "no gif support" but when I change it to jpeg (which works) it says theres no ttf support, so no font :)
My next problem is, now i'm using jpeg's instead of Gifs, it has the lower quality mess.
http://www.enterthefog.co.uk/reserve/fog3.php
as found on most jpeg images when not kept at a good quality (look around the edges)
can someone help please? :)
With regards to the JPEG quality issue, the imagejpeg() function has a quality attribute:
int imagejpeg ( resource image [, string filename [, int quality]])
Download the PHP Manual from http://www.php.net for information about all GD functions.
P.S. I believe the reason you cannot get GIFs to work is because the compression they used (LZW????) was copyrighted by some US firm so they had to take it out of newer versions of GD. If you look around on the net (e.g. Sourceforge) you can download an older version with GIF support.
Alternatively just use PNG.
$font = "usr/local/jdk121_pre-v1/ jre/lib/fonts/VerdanaRegular.ttf";
(spaces)
*later o in the script*
imagettftext( $image, 50, 0, 20, 100, $blue, $font, "Welcome!" );
This doesn't seem to work, not only does it say "no gif support" but when I change it to jpeg (which works) it says theres no ttf support, so no font :)
My next problem is, now i'm using jpeg's instead of Gifs, it has the lower quality mess.
http://www.enterthefog.co.uk/reserve/fog3.php
as found on most jpeg images when not kept at a good quality (look around the edges)
can someone help please? :)