Encapsulates common GD library operations in PHP classes.