in reply to Advice on a graphics package

ImageMagick is possible. There's also Cairo, OpenGL, SDL.