Add generator and support for 64bpp image