A PHP GD image generator helper class