I'm trying to determine whether imagecopyresampled and createimagetruecolor are available on my hosting company's server.
I've run the following inquiry
if (function_exists(imagecreatetruecolor)) {
echo "truecolor exists";
} else {
echo "truecolor doesn't exist";
}
if (function_exists(imagecopyresampled)) {
echo "resampled exists";
} else {
echo "resampled doesn't exist";
}
And it returned "exists" for both functions. Yet when I invoke them they don't work (my image isn't copied/resampled). If I use imagecreate and imagecopyresized, everything does work (except of course the image looks kind of crummy).
Running phpinfo, I find that my hoster is running PHP 4.2.2, but it says their GD Version is "1.6.2 or higher". Does this mean I'm out of luck?
How hard is it to upgrade GD versions - do I just have to upload a file, or is it more complicated than that?