Object-oriented image processing for PHP (with GD)