void allocate();
void sub_image(unsigned, int, int, unsigned, unsigned, const void *);
void sub_image(unsigned, int, int, unsigned, unsigned, const Buffer &, unsigned);
void allocate();
void sub_image(unsigned, int, int, unsigned, unsigned, const void *);
void sub_image(unsigned, int, int, unsigned, unsigned, const Buffer &, unsigned);