Whoops, one of the lines in the original example should have been
//Cache it to reduce need to redraw image each request
imagepng($Image, 'Cache/MrsMitch.png', 0);
Teaches me to proofread after simplifying example code.
What do you know, that works. Thanks.
Aarrgghh!!! I kind of wish...
I can't seem to keep semi-transparent areas of my images semi-transparent. Unless I'm misunderstanding the documentation for imagealphablending() and imagesavealpha(), this should be working:
$BG = imagecreatefrompng('BackgroundImages/MrsMitch1.png');
$Width = imagesx($BG);
$Height =...