GDImg class