Implements adapters for alternative graphics library

Can now use GD, Image::Magick or Graphics::Magick