Interface to Thomas Boutell's gd library
