Main Page | Modules | Class List | File List | Class Members | File Members

Allocate/Free an Image
[Image Package]


Functions

Gan_Imagegan_image_form_gen_b (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_BitWord *pix_data, size_t pix_data_size, Gan_BitWord **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_b (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type Gan_Bool.
Gan_Imagegan_image_form_b (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level Gan_Bool image.
Gan_Imagegan_image_alloc_data_b (unsigned long height, unsigned long width, unsigned long stride, Gan_BitWord *pix_data, size_t pix_data_size, Gan_BitWord **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level Gan_Bool image.
Gan_Imagegan_image_form_data_b (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_BitWord *pix_data, size_t pix_data_size, Gan_BitWord **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level Gan_Bool image.
Gan_Imagegan_image_set_b (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type Gan_Bool.
Gan_Imagegan_image_form_gen (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, void *pix_data, size_t pix_data_size, void *row_data, size_t row_data_size)
 Form image.
void gan_image_free_va (Gan_Image *img,...)
 Free a NULL terminated variable argument list of images.
Gan_Imagegan_image_alloc (Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width)
 Macro: Allocate and return a new image.
Gan_Imagegan_image_form (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width)
 Macro: Forms and returns a new image.
Gan_Imagegan_image_alloc_data (Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, void *pix_data, size_t pix_data_size, void *row_data, size_t row_data_size)
 Macro: Allocate image.
Gan_Imagegan_image_form_data (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, void *pix_data, size_t pix_data_size, void *row_data, size_t row_data_size)
 Macro: Form image.
void gan_image_free (Gan_Image *img)
 Macro: Free an image.
Gan_Bool gan_image_set_data_free_func (Gan_Image *img, void(*data_free_func)(void *))
 Sets the function to free the image data buffer.
Gan_Imagegan_image_form_gen_gl_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, double *pix_data, size_t pix_data_size, double **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_d (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type double.
Gan_Imagegan_image_form_gl_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level double image.
Gan_Imagegan_image_alloc_data_gl_d (unsigned long height, unsigned long width, unsigned long stride, double *pix_data, size_t pix_data_size, double **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level double image.
Gan_Imagegan_image_form_data_gl_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, double *pix_data, size_t pix_data_size, double **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level double image.
Gan_Imagegan_image_set_gl_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type double.
Gan_Imagegan_image_form_gen_gl_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, float *pix_data, size_t pix_data_size, float **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_f (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type float.
Gan_Imagegan_image_form_gl_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level float image.
Gan_Imagegan_image_alloc_data_gl_f (unsigned long height, unsigned long width, unsigned long stride, float *pix_data, size_t pix_data_size, float **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level float image.
Gan_Imagegan_image_form_data_gl_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, float *pix_data, size_t pix_data_size, float **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level float image.
Gan_Imagegan_image_set_gl_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type float.
Gan_Imagegan_image_form_gen_gl_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_float32 *pix_data, size_t pix_data_size, gan_float32 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_f32 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 32-bit float.
Gan_Imagegan_image_form_gl_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 32-bit float image.
Gan_Imagegan_image_alloc_data_gl_f32 (unsigned long height, unsigned long width, unsigned long stride, gan_float32 *pix_data, size_t pix_data_size, gan_float32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 32-bit float image.
Gan_Imagegan_image_form_data_gl_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_float32 *pix_data, size_t pix_data_size, gan_float32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 32-bit float image.
Gan_Imagegan_image_set_gl_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 32-bit float.
Gan_Imagegan_image_form_gen_gl_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_float64 *pix_data, size_t pix_data_size, gan_float64 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_f64 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 64-bit float.
Gan_Imagegan_image_form_gl_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 64-bit float image.
Gan_Imagegan_image_alloc_data_gl_f64 (unsigned long height, unsigned long width, unsigned long stride, gan_float64 *pix_data, size_t pix_data_size, gan_float64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 64-bit float image.
Gan_Imagegan_image_form_data_gl_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_float64 *pix_data, size_t pix_data_size, gan_float64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 64-bit float image.
Gan_Imagegan_image_set_gl_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 64-bit float.
Gan_Imagegan_image_form_gen_gl_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, int *pix_data, size_t pix_data_size, int **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_i (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type int.
Gan_Imagegan_image_form_gl_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level int image.
Gan_Imagegan_image_alloc_data_gl_i (unsigned long height, unsigned long width, unsigned long stride, int *pix_data, size_t pix_data_size, int **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level int image.
Gan_Imagegan_image_form_data_gl_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, int *pix_data, size_t pix_data_size, int **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level int image.
Gan_Imagegan_image_set_gl_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type int.
Gan_Imagegan_image_form_gen_gl_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_int32 *pix_data, size_t pix_data_size, gan_int32 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_i32 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 32-bit signed.
Gan_Imagegan_image_form_gl_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 32-bit signed image.
Gan_Imagegan_image_alloc_data_gl_i32 (unsigned long height, unsigned long width, unsigned long stride, gan_int32 *pix_data, size_t pix_data_size, gan_int32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 32-bit signed image.
Gan_Imagegan_image_form_data_gl_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_int32 *pix_data, size_t pix_data_size, gan_int32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 32-bit signed image.
Gan_Imagegan_image_set_gl_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 32-bit signed.
Gan_Imagegan_image_form_gen_gl_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, short *pix_data, size_t pix_data_size, short **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_s (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type short.
Gan_Imagegan_image_form_gl_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level short image.
Gan_Imagegan_image_alloc_data_gl_s (unsigned long height, unsigned long width, unsigned long stride, short *pix_data, size_t pix_data_size, short **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level short image.
Gan_Imagegan_image_form_data_gl_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, short *pix_data, size_t pix_data_size, short **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level short image.
Gan_Imagegan_image_set_gl_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type short.
Gan_Imagegan_image_form_gen_gl_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, unsigned char *pix_data, size_t pix_data_size, unsigned char **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_uc (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type unsigned char.
Gan_Imagegan_image_form_gl_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level unsigned char image.
Gan_Imagegan_image_alloc_data_gl_uc (unsigned long height, unsigned long width, unsigned long stride, unsigned char *pix_data, size_t pix_data_size, unsigned char **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level unsigned char image.
Gan_Imagegan_image_form_data_gl_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, unsigned char *pix_data, size_t pix_data_size, unsigned char **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level unsigned char image.
Gan_Imagegan_image_set_gl_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type unsigned char.
Gan_Imagegan_image_form_gen_gl_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, unsigned int *pix_data, size_t pix_data_size, unsigned int **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_ui (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type unsigned int.
Gan_Imagegan_image_form_gl_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level unsigned int image.
Gan_Imagegan_image_alloc_data_gl_ui (unsigned long height, unsigned long width, unsigned long stride, unsigned int *pix_data, size_t pix_data_size, unsigned int **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level unsigned int image.
Gan_Imagegan_image_form_data_gl_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, unsigned int *pix_data, size_t pix_data_size, unsigned int **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level unsigned int image.
Gan_Imagegan_image_set_gl_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type unsigned int.
Gan_Imagegan_image_form_gen_gl_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_YXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui10 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_ui10 (unsigned long height, unsigned long width)
 Macro: Allocate a new Grey level image with type gan_uint16.
Gan_Imagegan_image_form_gl_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new Grey level image with type gan_uint16.
Gan_Imagegan_image_alloc_data_gl_ui10 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_YXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui10 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new Grey level gan_uint16 image.
Gan_Imagegan_image_form_data_gl_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_YXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui10 **row_data, size_t row_data_size)
 Macro: Forms and returns a new Grey level gan_uint16 image.
Gan_Imagegan_image_form_gen_gl_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_YXPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui12 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_ui12 (unsigned long height, unsigned long width)
 Macro: Allocate a new Grey level image with type gan_uint16.
Gan_Imagegan_image_form_gl_ui12 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new Grey level image with type gan_uint16.
Gan_Imagegan_image_alloc_data_gl_ui12 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_YXPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui12 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new Grey level gan_uint16 image.
Gan_Imagegan_image_form_data_gl_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_YXPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_YXPixel_ui12 **row_data, size_t row_data_size)
 Macro: Forms and returns a new Grey level gan_uint16 image.
Gan_Imagegan_image_form_gen_gl_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_uint16 *pix_data, size_t pix_data_size, gan_uint16 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_ui16 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 16-bit unsigned.
Gan_Imagegan_image_form_gl_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 16-bit unsigned image.
Gan_Imagegan_image_alloc_data_gl_ui16 (unsigned long height, unsigned long width, unsigned long stride, gan_uint16 *pix_data, size_t pix_data_size, gan_uint16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 16-bit unsigned image.
Gan_Imagegan_image_form_data_gl_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_uint16 *pix_data, size_t pix_data_size, gan_uint16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 16-bit unsigned image.
Gan_Imagegan_image_set_gl_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 16-bit unsigned.
Gan_Imagegan_image_form_gen_gl_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_uint32 *pix_data, size_t pix_data_size, gan_uint32 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_ui32 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 32-bit unsigned.
Gan_Imagegan_image_form_gl_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 32-bit unsigned image.
Gan_Imagegan_image_alloc_data_gl_ui32 (unsigned long height, unsigned long width, unsigned long stride, gan_uint32 *pix_data, size_t pix_data_size, gan_uint32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 32-bit unsigned image.
Gan_Imagegan_image_form_data_gl_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_uint32 *pix_data, size_t pix_data_size, gan_uint32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 32-bit unsigned image.
Gan_Imagegan_image_set_gl_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 32-bit unsigned.
Gan_Imagegan_image_form_gen_gl_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, gan_uint8 *pix_data, size_t pix_data_size, gan_uint8 **row_data, size_t row_data_size)
Gan_Imagegan_image_alloc_gl_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type 8-bit unsigned.
Gan_Imagegan_image_form_gl_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level 8-bit unsigned image.
Gan_Imagegan_image_alloc_data_gl_ui8 (unsigned long height, unsigned long width, unsigned long stride, gan_uint8 *pix_data, size_t pix_data_size, gan_uint8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level 8-bit unsigned image.
Gan_Imagegan_image_form_data_gl_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, gan_uint8 *pix_data, size_t pix_data_size, gan_uint8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level 8-bit unsigned image.
Gan_Imagegan_image_set_gl_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type 8-bit unsigned.
Gan_Imagegan_image_form_gen_gl_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, unsigned short *pix_data, size_t pix_data_size, unsigned short **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gl_us (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type unsigned short.
Gan_Imagegan_image_form_gl_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level unsigned short image.
Gan_Imagegan_image_alloc_data_gl_us (unsigned long height, unsigned long width, unsigned long stride, unsigned short *pix_data, size_t pix_data_size, unsigned short **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level unsigned short image.
Gan_Imagegan_image_form_data_gl_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, unsigned short *pix_data, size_t pix_data_size, unsigned short **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level unsigned short image.
Gan_Imagegan_image_set_gl_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type unsigned short.
Gan_Imagegan_image_form_gen_gla_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_d *pix_data, size_t pix_data_size, struct Gan_GLAPixel_d **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_d (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type double.
Gan_Imagegan_image_form_gla_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type double.
Gan_Imagegan_image_alloc_data_gla_d (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_d *pix_data, size_t pix_data_size, struct Gan_GLAPixel_d **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha double image.
Gan_Imagegan_image_form_data_gla_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_d *pix_data, size_t pix_data_size, struct Gan_GLAPixel_d **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha double image.
Gan_Imagegan_image_form_gen_gla_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_f *pix_data, size_t pix_data_size, struct Gan_GLAPixel_f **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_f (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type float.
Gan_Imagegan_image_form_gla_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type float.
Gan_Imagegan_image_alloc_data_gla_f (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_f *pix_data, size_t pix_data_size, struct Gan_GLAPixel_f **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha float image.
Gan_Imagegan_image_form_data_gla_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_f *pix_data, size_t pix_data_size, struct Gan_GLAPixel_f **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha float image.
Gan_Imagegan_image_form_gen_gla_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_f32 *pix_data, size_t pix_data_size, Gan_GLAPixel_f32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_f32 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 32-bit float.
Gan_Imagegan_image_form_gla_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 32-bit float.
Gan_Imagegan_image_alloc_data_gla_f32 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_f32 *pix_data, size_t pix_data_size, Gan_GLAPixel_f32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 32-bit float image.
Gan_Imagegan_image_form_data_gla_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_f32 *pix_data, size_t pix_data_size, Gan_GLAPixel_f32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 32-bit float image.
Gan_Imagegan_image_form_gen_gla_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_f64 *pix_data, size_t pix_data_size, Gan_GLAPixel_f64 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_f64 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 64-bit float.
Gan_Imagegan_image_form_gla_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 64-bit float.
Gan_Imagegan_image_alloc_data_gla_f64 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_f64 *pix_data, size_t pix_data_size, Gan_GLAPixel_f64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 64-bit float image.
Gan_Imagegan_image_form_data_gla_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_f64 *pix_data, size_t pix_data_size, Gan_GLAPixel_f64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 64-bit float image.
Gan_Imagegan_image_form_gen_gla_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_i *pix_data, size_t pix_data_size, struct Gan_GLAPixel_i **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_i (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type int.
Gan_Imagegan_image_form_gla_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type int.
Gan_Imagegan_image_alloc_data_gla_i (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_i *pix_data, size_t pix_data_size, struct Gan_GLAPixel_i **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha int image.
Gan_Imagegan_image_form_data_gla_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_i *pix_data, size_t pix_data_size, struct Gan_GLAPixel_i **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha int image.
Gan_Imagegan_image_form_gen_gla_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_i32 *pix_data, size_t pix_data_size, Gan_GLAPixel_i32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_i32 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 32-bit signed.
Gan_Imagegan_image_form_gla_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 32-bit signed.
Gan_Imagegan_image_alloc_data_gla_i32 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_i32 *pix_data, size_t pix_data_size, Gan_GLAPixel_i32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 32-bit signed image.
Gan_Imagegan_image_form_data_gla_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_i32 *pix_data, size_t pix_data_size, Gan_GLAPixel_i32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 32-bit signed image.
Gan_Imagegan_image_form_gen_gla_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_s *pix_data, size_t pix_data_size, struct Gan_GLAPixel_s **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_s (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type short.
Gan_Imagegan_image_form_gla_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type short.
Gan_Imagegan_image_alloc_data_gla_s (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_s *pix_data, size_t pix_data_size, struct Gan_GLAPixel_s **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha short image.
Gan_Imagegan_image_form_data_gla_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_s *pix_data, size_t pix_data_size, struct Gan_GLAPixel_s **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha short image.
Gan_Imagegan_image_form_gen_gla_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_uc *pix_data, size_t pix_data_size, struct Gan_GLAPixel_uc **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_uc (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type unsigned char.
Gan_Imagegan_image_form_gla_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type unsigned char.
Gan_Imagegan_image_alloc_data_gla_uc (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_uc *pix_data, size_t pix_data_size, struct Gan_GLAPixel_uc **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha unsigned char image.
Gan_Imagegan_image_form_data_gla_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_uc *pix_data, size_t pix_data_size, struct Gan_GLAPixel_uc **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha unsigned char image.
Gan_Imagegan_image_form_gen_gla_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_ui *pix_data, size_t pix_data_size, struct Gan_GLAPixel_ui **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_ui (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type unsigned int.
Gan_Imagegan_image_form_gla_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type unsigned int.
Gan_Imagegan_image_alloc_data_gla_ui (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_ui *pix_data, size_t pix_data_size, struct Gan_GLAPixel_ui **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha unsigned int image.
Gan_Imagegan_image_form_data_gla_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_ui *pix_data, size_t pix_data_size, struct Gan_GLAPixel_ui **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha unsigned int image.
Gan_Imagegan_image_form_gen_gla_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_ui16 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui16 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_ui16 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 16-bit unsigned.
Gan_Imagegan_image_form_gla_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 16-bit unsigned.
Gan_Imagegan_image_alloc_data_gla_ui16 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui16 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 16-bit unsigned image.
Gan_Imagegan_image_form_data_gla_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui16 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 16-bit unsigned image.
Gan_Imagegan_image_form_gen_gla_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_ui32 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_ui32 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 32-bit unsigned.
Gan_Imagegan_image_form_gla_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 32-bit unsigned.
Gan_Imagegan_image_alloc_data_gla_ui32 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui32 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 32-bit unsigned image.
Gan_Imagegan_image_form_data_gla_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui32 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 32-bit unsigned image.
Gan_Imagegan_image_form_gen_gla_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_GLAPixel_ui8 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui8 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_gla_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type 8-bit unsigned.
Gan_Imagegan_image_form_gla_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type 8-bit unsigned.
Gan_Imagegan_image_alloc_data_gla_ui8 (unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui8 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha 8-bit unsigned image.
Gan_Imagegan_image_form_data_gla_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_GLAPixel_ui8 *pix_data, size_t pix_data_size, Gan_GLAPixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha 8-bit unsigned image.
Gan_Imagegan_image_form_gen_gla_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_GLAPixel_us *pix_data, size_t pix_data_size, struct Gan_GLAPixel_us **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_gla_us (unsigned long height, unsigned long width)
 Macro: Allocate a new grey-level alpha image with type unsigned short.
Gan_Imagegan_image_form_gla_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level alpha image with type unsigned short.
Gan_Imagegan_image_alloc_data_gla_us (unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_us *pix_data, size_t pix_data_size, struct Gan_GLAPixel_us **row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level alpha unsigned short image.
Gan_Imagegan_image_form_data_gla_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_GLAPixel_us *pix_data, size_t pix_data_size, struct Gan_GLAPixel_us **row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level alpha unsigned short image.
Gan_Imagegan_image_form_gen_p (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, void **pix_data, size_t pix_data_size, void ***row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_p (unsigned long height, unsigned long width)
 Macro: Allocate and return a new grey-level image with type void *.
Gan_Imagegan_image_form_p (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new grey-level void * image.
Gan_Imagegan_image_alloc_data_p (unsigned long height, unsigned long width, unsigned long stride, void **pix_data, size_t pix_data_size, void ***row_data, size_t row_data_size)
 Macro: Allocates and returns a new grey-level void * image.
Gan_Imagegan_image_form_data_p (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, void **pix_data, size_t pix_data_size, void ***row_data, size_t row_data_size)
 Macro: Forms and returns a new grey-level void * image.
Gan_Imagegan_image_set_p (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level with type void *.
Gan_Imagegan_image_form_gen_rgb_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBPixel_d **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_d (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type double.
Gan_Imagegan_image_form_rgb_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type double.
Gan_Imagegan_image_alloc_data_rgb_d (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBPixel_d **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour double image.
Gan_Imagegan_image_form_data_rgb_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBPixel_d **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour double image.
Gan_Imagegan_image_form_gen_rgb_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBPixel_f **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_f (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type float.
Gan_Imagegan_image_form_rgb_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type float.
Gan_Imagegan_image_alloc_data_rgb_f (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBPixel_f **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour float image.
Gan_Imagegan_image_form_data_rgb_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBPixel_f **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour float image.
Gan_Imagegan_image_form_gen_rgb_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBPixel_f32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_f32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 32-bit float.
Gan_Imagegan_image_form_rgb_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 32-bit float.
Gan_Imagegan_image_alloc_data_rgb_f32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBPixel_f32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 32-bit float image.
Gan_Imagegan_image_form_data_rgb_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBPixel_f32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 32-bit float image.
Gan_Imagegan_image_form_gen_rgb_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBPixel_f64 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_f64 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 64-bit float.
Gan_Imagegan_image_form_rgb_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 64-bit float.
Gan_Imagegan_image_alloc_data_rgb_f64 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBPixel_f64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 64-bit float image.
Gan_Imagegan_image_form_data_rgb_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBPixel_f64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 64-bit float image.
Gan_Imagegan_image_form_gen_rgb_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBPixel_i **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_i (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type int.
Gan_Imagegan_image_form_rgb_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type int.
Gan_Imagegan_image_alloc_data_rgb_i (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBPixel_i **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour int image.
Gan_Imagegan_image_form_data_rgb_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBPixel_i **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour int image.
Gan_Imagegan_image_form_gen_rgb_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBPixel_i32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_i32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 32-bit signed.
Gan_Imagegan_image_form_rgb_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 32-bit signed.
Gan_Imagegan_image_alloc_data_rgb_i32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBPixel_i32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 32-bit signed image.
Gan_Imagegan_image_form_data_rgb_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBPixel_i32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 32-bit signed image.
Gan_Imagegan_image_form_gen_rgb_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBPixel_s **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_s (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type short.
Gan_Imagegan_image_form_rgb_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type short.
Gan_Imagegan_image_alloc_data_rgb_s (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBPixel_s **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour short image.
Gan_Imagegan_image_form_data_rgb_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBPixel_s **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour short image.
Gan_Imagegan_image_form_gen_rgb_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBPixel_uc **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_uc (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type unsigned char.
Gan_Imagegan_image_form_rgb_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type unsigned char.
Gan_Imagegan_image_alloc_data_rgb_uc (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBPixel_uc **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour unsigned char image.
Gan_Imagegan_image_form_data_rgb_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBPixel_uc **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour unsigned char image.
Gan_Imagegan_image_form_gen_rgb_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBPixel_ui **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_ui (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type unsigned int.
Gan_Imagegan_image_form_rgb_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type unsigned int.
Gan_Imagegan_image_alloc_data_rgb_ui (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBPixel_ui **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour unsigned int image.
Gan_Imagegan_image_form_data_rgb_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBPixel_ui **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour unsigned int image.
Gan_Imagegan_image_form_gen_rgb_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui16 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_ui16 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 16-bit unsigned.
Gan_Imagegan_image_form_rgb_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 16-bit unsigned.
Gan_Imagegan_image_alloc_data_rgb_ui16 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 16-bit unsigned image.
Gan_Imagegan_image_form_data_rgb_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 16-bit unsigned image.
Gan_Imagegan_image_form_gen_rgb_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_ui32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 32-bit unsigned.
Gan_Imagegan_image_form_rgb_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 32-bit unsigned.
Gan_Imagegan_image_alloc_data_rgb_ui32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 32-bit unsigned image.
Gan_Imagegan_image_form_data_rgb_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 32-bit unsigned image.
Gan_Imagegan_image_form_gen_rgb_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui8 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgb_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type 8-bit unsigned.
Gan_Imagegan_image_form_rgb_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type 8-bit unsigned.
Gan_Imagegan_image_alloc_data_rgb_ui8 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour 8-bit unsigned image.
Gan_Imagegan_image_form_data_rgb_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBPixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour 8-bit unsigned image.
Gan_Imagegan_image_form_gen_rgb_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBPixel_us **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgb_us (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type unsigned short.
Gan_Imagegan_image_form_rgb_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type unsigned short.
Gan_Imagegan_image_alloc_data_rgb_us (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBPixel_us **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour unsigned short image.
Gan_Imagegan_image_form_data_rgb_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBPixel_us **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour unsigned short image.
Gan_Imagegan_image_form_gen_rgba_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_d **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_d (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type double.
Gan_Imagegan_image_form_rgba_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type double.
Gan_Imagegan_image_alloc_data_rgba_d (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_d **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha double image.
Gan_Imagegan_image_form_data_rgba_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_d *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_d **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha double image.
Gan_Imagegan_image_form_gen_rgba_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_f **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_f (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type float.
Gan_Imagegan_image_form_rgba_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type float.
Gan_Imagegan_image_alloc_data_rgba_f (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_f **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha float image.
Gan_Imagegan_image_form_data_rgba_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_f *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_f **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha float image.
Gan_Imagegan_image_form_gen_rgba_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_f32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type 32-bit float.
Gan_Imagegan_image_form_rgba_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type 32-bit float.
Gan_Imagegan_image_alloc_data_rgba_f32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha 32-bit float image.
Gan_Imagegan_image_form_data_rgba_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_f32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha 32-bit float image.
Gan_Imagegan_image_form_gen_rgba_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f64 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_f64 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type 64-bit float.
Gan_Imagegan_image_form_rgba_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type 64-bit float.
Gan_Imagegan_image_alloc_data_rgba_f64 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha 64-bit float image.
Gan_Imagegan_image_form_data_rgba_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_f64 *pix_data, size_t pix_data_size, Gan_RGBAPixel_f64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha 64-bit float image.
Gan_Imagegan_image_form_gen_rgba_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_i **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_i (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type int.
Gan_Imagegan_image_form_rgba_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type int.
Gan_Imagegan_image_alloc_data_rgba_i (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_i **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha int image.
Gan_Imagegan_image_form_data_rgba_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_i *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_i **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha int image.
Gan_Imagegan_image_form_gen_rgba_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_i32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_i32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGBA colour image with type 32-bit signed.
Gan_Imagegan_image_form_rgba_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGBA colour image with type 32-bit signed.
Gan_Imagegan_image_alloc_data_rgba_i32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_i32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGBA colour 32-bit signed image.
Gan_Imagegan_image_form_data_rgba_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_i32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_i32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGBA colour 32-bit signed image.
Gan_Imagegan_image_form_gen_rgba_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_s **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_s (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type short.
Gan_Imagegan_image_form_rgba_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type short.
Gan_Imagegan_image_alloc_data_rgba_s (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_s **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha short image.
Gan_Imagegan_image_form_data_rgba_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_s *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_s **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha short image.
Gan_Imagegan_image_form_gen_rgba_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_uc **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_uc (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type unsigned char.
Gan_Imagegan_image_form_rgba_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type unsigned char.
Gan_Imagegan_image_alloc_data_rgba_uc (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_uc **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha unsigned char image.
Gan_Imagegan_image_form_data_rgba_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_uc *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_uc **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha unsigned char image.
Gan_Imagegan_image_form_gen_rgba_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_ui (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type unsigned int.
Gan_Imagegan_image_form_rgba_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type unsigned int.
Gan_Imagegan_image_alloc_data_rgba_ui (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha unsigned int image.
Gan_Imagegan_image_form_data_rgba_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_ui *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha unsigned int image.
Gan_Imagegan_image_form_gen_rgba_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui12 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_ui12 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGBA colour image with type gan_uint16.
Gan_Imagegan_image_form_rgba_ui12 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGBA colour image with type gan_uint16.
Gan_Imagegan_image_alloc_data_rgba_ui12 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui12 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGBA colour gan_uint16 image.
Gan_Imagegan_image_form_data_rgba_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_ui12 *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_ui12 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGBA colour gan_uint16 image.
Gan_Imagegan_image_form_gen_rgba_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui16 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_ui16 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type 16-bit unsigned.
Gan_Imagegan_image_form_rgba_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type 16-bit unsigned.
Gan_Imagegan_image_alloc_data_rgba_ui16 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha 16-bit unsigned image.
Gan_Imagegan_image_form_data_rgba_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui16 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha 16-bit unsigned image.
Gan_Imagegan_image_form_gen_rgba_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_ui32 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type 32-bit unsigned.
Gan_Imagegan_image_form_rgba_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type 32-bit unsigned.
Gan_Imagegan_image_alloc_data_rgba_ui32 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha 32-bit unsigned image.
Gan_Imagegan_image_form_data_rgba_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui32 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha 32-bit unsigned image.
Gan_Imagegan_image_form_gen_rgba_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, Gan_RGBAPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui8 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_rgba_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type 8-bit unsigned.
Gan_Imagegan_image_form_rgba_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type 8-bit unsigned.
Gan_Imagegan_image_alloc_data_rgba_ui8 (unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha 8-bit unsigned image.
Gan_Imagegan_image_form_data_rgba_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_RGBAPixel_ui8 *pix_data, size_t pix_data_size, Gan_RGBAPixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha 8-bit unsigned image.
Gan_Imagegan_image_form_gen_rgba_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBAPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_us **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgba_us (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB-colour alpha image with type unsigned short.
Gan_Imagegan_image_form_rgba_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB-colour alpha image with type unsigned short.
Gan_Imagegan_image_alloc_data_rgba_us (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_us **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB-colour alpha unsigned short image.
Gan_Imagegan_image_form_data_rgba_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBAPixel_us *pix_data, size_t pix_data_size, struct Gan_RGBAPixel_us **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB-colour alpha unsigned short image.
Gan_Imagegan_image_form_gen_rgbas_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBASPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBASPixel_ui10 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgbas_ui10 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGBA colour image with type gan_uint16.
Gan_Imagegan_image_form_rgbas_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGBA colour image with type gan_uint16.
Gan_Imagegan_image_alloc_data_rgbas_ui10 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBASPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBASPixel_ui10 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGBA colour gan_uint16 image.
Gan_Imagegan_image_form_data_rgbas_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBASPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBASPixel_ui10 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGBA colour gan_uint16 image.
Gan_Imagegan_image_form_gen_rgbx_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui10 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgbx_ui10 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type gan_uint16.
Gan_Imagegan_image_form_rgbx_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type gan_uint16.
Gan_Imagegan_image_alloc_data_rgbx_ui10 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui10 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour gan_uint16 image.
Gan_Imagegan_image_form_data_rgbx_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBXPixel_ui10 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui10 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour gan_uint16 image.
Gan_Imagegan_image_form_gen_rgbx_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_RGBXPixel_ui8 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui8 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_rgbx_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new RGB colour image with type gan_uint8.
Gan_Imagegan_image_form_rgbx_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new RGB colour image with type gan_uint8.
Gan_Imagegan_image_alloc_data_rgbx_ui8 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBXPixel_ui8 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new RGB colour gan_uint8 image.
Gan_Imagegan_image_form_data_rgbx_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_RGBXPixel_ui8 *pix_data, size_t pix_data_size, struct Gan_RGBXPixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new RGB colour gan_uint8 image.
Gan_Imagegan_image_form_gen_vfield2D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2 *pix_data, size_t pix_data_size, struct Gan_Vector2 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield2D_d (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type double.
Gan_Imagegan_image_form_vfield2D_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type double.
Gan_Imagegan_image_alloc_data_vfield2D_d (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2 *pix_data, size_t pix_data_size, struct Gan_Vector2 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector double image.
Gan_Imagegan_image_form_data_vfield2D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2 *pix_data, size_t pix_data_size, struct Gan_Vector2 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector double image.
Gan_Imagegan_image_form_gen_vfield2D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_f *pix_data, size_t pix_data_size, struct Gan_Vector2_f **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield2D_f (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type float.
Gan_Imagegan_image_form_vfield2D_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type float.
Gan_Imagegan_image_alloc_data_vfield2D_f (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f *pix_data, size_t pix_data_size, struct Gan_Vector2_f **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector float image.
Gan_Imagegan_image_form_data_vfield2D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f *pix_data, size_t pix_data_size, struct Gan_Vector2_f **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector float image.
Gan_Imagegan_image_form_gen_vfield2D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield2D_f32 (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type 32-bit floating.
Gan_Imagegan_image_form_vfield2D_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type 32-bit floating.
Gan_Imagegan_image_alloc_data_vfield2D_f32 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector 32-bit floating image.
Gan_Imagegan_image_form_data_vfield2D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector 32-bit floating image.
Gan_Imagegan_image_form_gen_vfield2D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield2D_f64 (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type 64-bit floating.
Gan_Imagegan_image_form_vfield2D_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type 64-bit floating.
Gan_Imagegan_image_alloc_data_vfield2D_f64 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector 64-bit floating image.
Gan_Imagegan_image_form_data_vfield2D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector 64-bit floating image.
Gan_Imagegan_image_form_gen_vfield2D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_i *pix_data, size_t pix_data_size, struct Gan_Vector2_i **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield2D_i (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type int.
Gan_Imagegan_image_form_vfield2D_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type int.
Gan_Imagegan_image_alloc_data_vfield2D_i (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i *pix_data, size_t pix_data_size, struct Gan_Vector2_i **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector int image.
Gan_Imagegan_image_form_data_vfield2D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i *pix_data, size_t pix_data_size, struct Gan_Vector2_i **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector int image.
Gan_Imagegan_image_form_gen_vfield2D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield2D_i16 (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type 16-bit signed.
Gan_Imagegan_image_form_vfield2D_i16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type 16-bit signed.
Gan_Imagegan_image_alloc_data_vfield2D_i16 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector 16-bit signed image.
Gan_Imagegan_image_form_data_vfield2D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector 16-bit signed image.
Gan_Imagegan_image_form_gen_vfield2D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield2D_i32 (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type 32-bit signed.
Gan_Imagegan_image_form_vfield2D_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type 32-bit signed.
Gan_Imagegan_image_alloc_data_vfield2D_i32 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector 32-bit signed image.
Gan_Imagegan_image_form_data_vfield2D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector 32-bit signed image.
Gan_Imagegan_image_form_gen_vfield2D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_s *pix_data, size_t pix_data_size, struct Gan_Vector2_s **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield2D_s (unsigned long height, unsigned long width)
 Macro: Allocate a new 2D vector image with type short.
Gan_Imagegan_image_form_vfield2D_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 2D vector image with type short.
Gan_Imagegan_image_alloc_data_vfield2D_s (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_s *pix_data, size_t pix_data_size, struct Gan_Vector2_s **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 2D vector short image.
Gan_Imagegan_image_form_data_vfield2D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_s *pix_data, size_t pix_data_size, struct Gan_Vector2_s **row_data, size_t row_data_size)
 Macro: Forms and returns a new 2D vector short image.
Gan_Imagegan_image_form_gen_vfield3D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector3 *pix_data, size_t pix_data_size, struct Gan_Vector3 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield3D_d (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type double.
Gan_Imagegan_image_form_vfield3D_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type double.
Gan_Imagegan_image_alloc_data_vfield3D_d (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3 *pix_data, size_t pix_data_size, struct Gan_Vector3 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector double image.
Gan_Imagegan_image_form_data_vfield3D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3 *pix_data, size_t pix_data_size, struct Gan_Vector3 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector double image.
Gan_Imagegan_image_form_gen_vfield3D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector3_f *pix_data, size_t pix_data_size, struct Gan_Vector3_f **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield3D_f (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type float.
Gan_Imagegan_image_form_vfield3D_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type float.
Gan_Imagegan_image_alloc_data_vfield3D_f (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_f *pix_data, size_t pix_data_size, struct Gan_Vector3_f **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector float image.
Gan_Imagegan_image_form_data_vfield3D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_f *pix_data, size_t pix_data_size, struct Gan_Vector3_f **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector float image.
Gan_Imagegan_image_form_gen_vfield3D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield3D_f32 (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type 32-bit floating.
Gan_Imagegan_image_form_vfield3D_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type 32-bit floating.
Gan_Imagegan_image_alloc_data_vfield3D_f32 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector 32-bit floating image.
Gan_Imagegan_image_form_data_vfield3D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f32 *pix_data, size_t pix_data_size, struct Gan_Vector2_f32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector 32-bit floating image.
Gan_Imagegan_image_form_gen_vfield3D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield3D_f64 (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type 64-bit floating.
Gan_Imagegan_image_form_vfield3D_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type 64-bit floating.
Gan_Imagegan_image_alloc_data_vfield3D_f64 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector 64-bit floating image.
Gan_Imagegan_image_form_data_vfield3D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_f64 *pix_data, size_t pix_data_size, struct Gan_Vector2_f64 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector 64-bit floating image.
Gan_Imagegan_image_form_gen_vfield3D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector3_i *pix_data, size_t pix_data_size, struct Gan_Vector3_i **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield3D_i (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type int.
Gan_Imagegan_image_form_vfield3D_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type int.
Gan_Imagegan_image_alloc_data_vfield3D_i (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_i *pix_data, size_t pix_data_size, struct Gan_Vector3_i **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector int image.
Gan_Imagegan_image_form_data_vfield3D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_i *pix_data, size_t pix_data_size, struct Gan_Vector3_i **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector int image.
Gan_Imagegan_image_form_gen_vfield3D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield3D_i16 (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type 16-bit signed.
Gan_Imagegan_image_form_vfield3D_i16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type 16-bit signed.
Gan_Imagegan_image_alloc_data_vfield3D_i16 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector 16-bit signed image.
Gan_Imagegan_image_form_data_vfield3D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i16 *pix_data, size_t pix_data_size, struct Gan_Vector2_i16 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector 16-bit signed image.
Gan_Imagegan_image_form_gen_vfield3D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Not a user function.
Gan_Imagegan_image_alloc_vfield3D_i32 (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type 32-bit signed.
Gan_Imagegan_image_form_vfield3D_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type 32-bit signed.
Gan_Imagegan_image_alloc_data_vfield3D_i32 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector 32-bit signed image.
Gan_Imagegan_image_form_data_vfield3D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector2_i32 *pix_data, size_t pix_data_size, struct Gan_Vector2_i32 **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector 32-bit signed image.
Gan_Imagegan_image_form_gen_vfield3D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_Vector3_s *pix_data, size_t pix_data_size, struct Gan_Vector3_s **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_vfield3D_s (unsigned long height, unsigned long width)
 Macro: Allocate a new 3D vector image with type short.
Gan_Imagegan_image_form_vfield3D_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new 3D vector image with type short.
Gan_Imagegan_image_alloc_data_vfield3D_s (unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_s *pix_data, size_t pix_data_size, struct Gan_Vector3_s **row_data, size_t row_data_size)
 Macro: Allocates and returns a new 3D vector short image.
Gan_Imagegan_image_form_data_vfield3D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_Vector3_s *pix_data, size_t pix_data_size, struct Gan_Vector3_s **row_data, size_t row_data_size)
 Macro: Forms and returns a new 3D vector short image.
Gan_Imagegan_image_form_gen_yuv422_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_YUV422Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUV422Pixel_ui8 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_yuv422_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new YUV colour image with type gan_uint8.
Gan_Imagegan_image_form_yuv422_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new YUV colour image with type gan_uint8.
Gan_Imagegan_image_alloc_data_yuv422_ui8 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUV422Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUV422Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new YUV colour gan_uint8 image.
Gan_Imagegan_image_form_data_yuv422_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUV422Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUV422Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new YUV colour gan_uint8 image.
Gan_Imagegan_image_form_gen_yuva444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_YUVA444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVA444Pixel_ui8 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_yuva444_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new YUVA colour image with type gan_uint8.
Gan_Imagegan_image_form_yuva444_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new YUVA colour image with type gan_uint8.
Gan_Imagegan_image_alloc_data_yuva444_ui8 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUVA444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVA444Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new YUVA colour gan_uint8 image.
Gan_Imagegan_image_form_data_yuva444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUVA444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVA444Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new YUVA colour gan_uint8 image.
Gan_Imagegan_image_form_gen_yuvx444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, struct Gan_YUVX444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVX444Pixel_ui8 **row_data, size_t row_data_size)
 Form an image with specific format, type, dimensions and stride.
Gan_Imagegan_image_alloc_yuvx444_ui8 (unsigned long height, unsigned long width)
 Macro: Allocate a new YUV colour image with type gan_uint8.
Gan_Imagegan_image_form_yuvx444_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Forms and returns a new YUV colour image with type gan_uint8.
Gan_Imagegan_image_alloc_data_yuvx444_ui8 (unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUVX444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVX444Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Allocates and returns a new YUV colour gan_uint8 image.
Gan_Imagegan_image_form_data_yuvx444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, struct Gan_YUVX444Pixel_ui8 *pix_data, size_t pix_data_size, struct Gan_YUVX444Pixel_ui8 **row_data, size_t row_data_size)
 Macro: Forms and returns a new YUV colour gan_uint8 image.

Function Documentation

Gan_Image* gan_image_alloc Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new image.

Allocates and returns a new image with given format (e.g. GAN_GREY_LEVEL_IMAGE, GAN_RGB_COLOUR_IMAGE), type (e.g. GAN_UCHAR for unsigned character images, GAN_DOUBLE for floating point images), height and width.

Implemented as a macro call to gan_image_form_gen().

See also:
gan_image_form().

Gan_Image* gan_image_alloc_b unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type Gan_Bool.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type Gan_Bool and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_data Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width,
void *  pix_data,
size_t  pix_data_size,
void *  row_data,
size_t  row_data_size
 

Macro: Allocate image.

Allocates and returns an image with given format, type, dimensions height and width. If the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_data_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and width, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

Implemented as a macro call to gan_image_form_gen().

See also:
gan_image_alloc() and gan_image_form().

Gan_Image* gan_image_alloc_data_b unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_BitWord pix_data,
size_t  pix_data_size,
Gan_BitWord **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level Gan_Bool image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type Gan_Bool and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
double *  pix_data,
size_t  pix_data_size,
double **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type double and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
float *  pix_data,
size_t  pix_data_size,
float **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_float32 *  pix_data,
size_t  pix_data_size,
gan_float32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 32-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 32-bit float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_float64 *  pix_data,
size_t  pix_data_size,
gan_float64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 64-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 64-bit float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
int *  pix_data,
size_t  pix_data_size,
int **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type int and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_int32 *  pix_data,
size_t  pix_data_size,
gan_int32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 32-bit signed and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
short *  pix_data,
size_t  pix_data_size,
short **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type short and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_uc unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned char *  pix_data,
size_t  pix_data_size,
unsigned char **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level unsigned char image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type unsigned char and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned int *  pix_data,
size_t  pix_data_size,
unsigned int **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level unsigned int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type unsigned int and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui10 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new Grey level gan_uint16 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui12 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YXPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui12 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new Grey level gan_uint16 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint16 *  pix_data,
size_t  pix_data_size,
gan_uint16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 16-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 16-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint32 *  pix_data,
size_t  pix_data_size,
gan_uint32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 32-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 32-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint8 *  pix_data,
size_t  pix_data_size,
gan_uint8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level 8-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type 8-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gl_us unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned short *  pix_data,
size_t  pix_data_size,
unsigned short **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level unsigned short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type unsigned short and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_d **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_f **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 32-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 64-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_i **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_s **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_uc unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha unsigned char image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_ui unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha unsigned int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_ui16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 16-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_ui32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 32-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha 8-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_gla_us unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_us **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level alpha unsigned short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_p unsigned long  height,
unsigned long  width,
unsigned long  stride,
void **  pix_data,
size_t  pix_data_size,
void ***  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new grey-level void * image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image with type void * and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_d **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_f **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 32-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 64-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_i **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_s **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_uc unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour unsigned char image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_ui unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour unsigned int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_ui16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 16-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_ui32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 32-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour 8-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgb_us unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_us **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour unsigned short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_d **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_f **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha 32-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha 64-bit float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_i **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGBA colour 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_s **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_uc unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha unsigned char image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_ui unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha unsigned int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_ui12 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui12 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGBA colour gan_uint16 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_ui16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha 16-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_ui32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha 32-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha 8-bit unsigned image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgba_us unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_us **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB-colour alpha unsigned short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgbas_ui10 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBASPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBASPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGBA colour gan_uint16 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgbx_ui10 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour gan_uint16 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_rgbx_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBXPixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new RGB colour gan_uint8 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2 pix_data,
size_t  pix_data_size,
struct Gan_Vector2 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector 32-bit floating image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f64 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector 64-bit floating image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_i16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i16 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector 16-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield2D_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_s pix_data,
size_t  pix_data_size,
struct Gan_Vector2_s **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 2D vector short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_d unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3 pix_data,
size_t  pix_data_size,
struct Gan_Vector3 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector double image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_f unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_f pix_data,
size_t  pix_data_size,
struct Gan_Vector3_f **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector float image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_f32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector 32-bit floating image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_f64 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f64 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f64 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector 64-bit floating image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_i unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_i pix_data,
size_t  pix_data_size,
struct Gan_Vector3_i **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector int image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_i16 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i16 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i16 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector 16-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_i32 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i32 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector 32-bit signed image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_vfield3D_s unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_s pix_data,
size_t  pix_data_size,
struct Gan_Vector3_s **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new 3D vector short image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_yuv422_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUV422Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUV422Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new YUV colour gan_uint8 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_yuva444_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUVA444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVA444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new YUVA colour gan_uint8 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_data_yuvx444_ui8 unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUVX444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVX444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Allocates and returns a new YUV colour gan_uint8 image.

Parameters:
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_alloc_gl_d unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type double.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_f unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type float.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 32-bit float.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 32-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 64-bit float.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 64-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_i unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type int.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 32-bit signed.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_s unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type short.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_uc unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type unsigned char.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type unsigned char and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_ui unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type unsigned int.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type unsigned int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gl_ui10 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new Grey level image with type gan_uint16.

Returns:
The new image, or NULL on failure.
Allocate and return a new Grey level image of type gan_uint16 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gl_ui12 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new Grey level image with type gan_uint16.

Returns:
The new image, or NULL on failure.
Allocate and return a new Grey level image of type gan_uint16 and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_ui16 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 16-bit unsigned.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 16-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_ui32 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 32-bit unsigned.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 32-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type 8-bit unsigned.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type 8-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_gl_us unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type unsigned short.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type unsigned short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_d unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type double.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_f unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type float.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 32-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 32-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 64-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 64-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_i unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type int.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 32-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_s unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type short.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_uc unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type unsigned char.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type unsigned char and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_ui unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type unsigned int.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type unsigned int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_ui16 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 16-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 16-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_ui32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 32-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 32-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type 8-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type 8-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_gla_us unsigned long  height,
unsigned long  width
 

Macro: Allocate a new grey-level alpha image with type unsigned short.

Returns:
The new image, or NULL on failure.
Allocate and return a new grey-level alpha image of type unsigned short and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_alloc_p unsigned long  height,
unsigned long  width
 

Macro: Allocate and return a new grey-level image with type void *.

Returns:
The allocated image, or NULL on failure.
Allocate and return a new grey-level image of type void * and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_d unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type double.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_f unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 32-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 32-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 64-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 64-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_i unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type int.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 32-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_s unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type short.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_uc unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type unsigned char.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type unsigned char and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_ui unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type unsigned int.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type unsigned int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_ui16 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 16-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 16-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_ui32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 32-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 32-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type 8-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type 8-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgb_us unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type unsigned short.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type unsigned short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_d unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type double.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_f unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type 32-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type 32-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type 64-bit float.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type 64-bit float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_i unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type int.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGBA colour image with type 32-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGBA colour image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_s unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type short.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_uc unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type unsigned char.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type unsigned char and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_ui unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type unsigned int.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type unsigned int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_ui12 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGBA colour image with type gan_uint16.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGBA colour image of type gan_uint16 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_ui16 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type 16-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type 16-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_ui32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type 32-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type 32-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type 8-bit unsigned.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type 8-bit unsigned and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgba_us unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB-colour alpha image with type unsigned short.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB-colour alpha image of type unsigned short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgbas_ui10 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGBA colour image with type gan_uint16.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGBA colour image of type gan_uint16 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgbx_ui10 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type gan_uint16.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type gan_uint16 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_rgbx_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new RGB colour image with type gan_uint8.

Returns:
The new image, or NULL on failure.
Allocate and return a new RGB colour image of type gan_uint8 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_d unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type double.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_f unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type float.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type 32-bit floating.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type 32-bit floating and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type 64-bit floating.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type 64-bit floating and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_i unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type int.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_i16 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type 16-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type 16-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type 32-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield2D_s unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 2D vector image with type short.

Returns:
The new image, or NULL on failure.
Allocate and return a new 2D vector image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_d unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type double.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type double and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_f unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type float.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type float and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_f32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type 32-bit floating.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type 32-bit floating and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_f64 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type 64-bit floating.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type 64-bit floating and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_i unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type int.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type int and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_i16 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type 16-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type 16-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_i32 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type 32-bit signed.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type 32-bit signed and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_vfield3D_s unsigned long  height,
unsigned long  width
 

Macro: Allocate a new 3D vector image with type short.

Returns:
The new image, or NULL on failure.
Allocate and return a new 3D vector image of type short and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_yuv422_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new YUV colour image with type gan_uint8.

Returns:
The new image, or NULL on failure.
Allocate and return a new YUV colour image of type gan_uint8 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_yuva444_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new YUVA colour image with type gan_uint8.

Returns:
The new image, or NULL on failure.
Allocate and return a new YUVA colour image of type gan_uint8 and given dimensions height and width.

Implemented as a macro.

Gan_Image * gan_image_alloc_yuvx444_ui8 unsigned long  height,
unsigned long  width
 

Macro: Allocate a new YUV colour image with type gan_uint8.

Returns:
The new image, or NULL on failure.
Allocate and return a new YUV colour image of type gan_uint8 and given dimensions height and width.

Implemented as a macro.

Gan_Image* gan_image_form Gan_Image img,
Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new image.

Forms and returns a new image with given format (e.g. GAN_GREY_LEVEL_IMAGE, GAN_RGB_COLOUR_IMAGE), type (e.g. GAN_UCHAR for unsigned character images, GAN_DOUBLE for floating point images), height and width. If the img image pointer is not NULL, the given image pointer is filled; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro call to gan_image_form_gen().

See also:
gan_image_alloc().

Gan_Image* gan_image_form_b Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level Gan_Bool image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type Gan_Bool with given dimensions height and width.

Gan_Image* gan_image_form_data Gan_Image img,
Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width,
void *  pix_data,
size_t  pix_data_size,
void *  row_data,
size_t  row_data_size
 

Macro: Form image.

Forms and returns an image img with given format, type, dimensions height and width. If the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_data_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and width, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

Implemented as a macro call to gan_image_form_gen().

See also:
gan_image_alloc() and gan_image_form().

Gan_Image* gan_image_form_data_b Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_BitWord pix_data,
size_t  pix_data_size,
Gan_BitWord **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level Gan_Bool image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type Gan_Bool and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
double *  pix_data,
size_t  pix_data_size,
double **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type double and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
float *  pix_data,
size_t  pix_data_size,
float **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_float32 *  pix_data,
size_t  pix_data_size,
gan_float32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 32-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 32-bit float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_float64 *  pix_data,
size_t  pix_data_size,
gan_float64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 64-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 64-bit float and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
int *  pix_data,
size_t  pix_data_size,
int **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type int and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_int32 *  pix_data,
size_t  pix_data_size,
gan_int32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 32-bit signed and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
short *  pix_data,
size_t  pix_data_size,
short **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type short and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned char *  pix_data,
size_t  pix_data_size,
unsigned char **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level unsigned char image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type unsigned char and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned int *  pix_data,
size_t  pix_data_size,
unsigned int **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level unsigned int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type unsigned int and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new Grey level gan_uint16 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YXPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui12 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new Grey level gan_uint16 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint16 *  pix_data,
size_t  pix_data_size,
gan_uint16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 16-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 16-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint32 *  pix_data,
size_t  pix_data_size,
gan_uint32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 32-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 32-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
gan_uint8 *  pix_data,
size_t  pix_data_size,
gan_uint8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level 8-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type 8-bit unsigned and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gl_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
unsigned short *  pix_data,
size_t  pix_data_size,
unsigned short **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level unsigned short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type unsigned short and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_d **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_f **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 32-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 64-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_i **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_s **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha unsigned char image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha unsigned int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 16-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 32-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_GLAPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_GLAPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha 8-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_gla_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_GLAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_us **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level alpha unsigned short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_p Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
void **  pix_data,
size_t  pix_data_size,
void ***  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new grey-level void * image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image.
Forms and returns a new grey-level image with type void * and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_d **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_f **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 32-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 64-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_i **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_s **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour unsigned char image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour unsigned int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 16-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 32-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_RGBPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour 8-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgb_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_us **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour unsigned short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_d **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_f **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_f32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_f32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha 32-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_f64 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_f64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha 64-bit float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_i **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_i32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_i32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGBA colour 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_s **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_uc **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha unsigned char image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha unsigned int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui12 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGBA colour gan_uint16 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui16 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha 16-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui32 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha 32-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_RGBAPixel_ui8 *  pix_data,
size_t  pix_data_size,
Gan_RGBAPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha 8-bit unsigned image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgba_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_us **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB-colour alpha unsigned short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgbas_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBASPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBASPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGBA colour gan_uint16 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgbx_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui10 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour gan_uint16 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_rgbx_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_RGBXPixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new RGB colour gan_uint8 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2 pix_data,
size_t  pix_data_size,
struct Gan_Vector2 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector 32-bit floating image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f64 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector 64-bit floating image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_i16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i16 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector 16-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield2D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_s pix_data,
size_t  pix_data_size,
struct Gan_Vector2_s **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 2D vector short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3 pix_data,
size_t  pix_data_size,
struct Gan_Vector3 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector double image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_f pix_data,
size_t  pix_data_size,
struct Gan_Vector3_f **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector float image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_f32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector 32-bit floating image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_f64 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_f64 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f64 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector 64-bit floating image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_i pix_data,
size_t  pix_data_size,
struct Gan_Vector3_i **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector int image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_i16 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i16 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i16 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector 16-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_i32 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector2_i32 *  pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i32 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector 32-bit signed image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_vfield3D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_Vector3_s pix_data,
size_t  pix_data_size,
struct Gan_Vector3_s **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new 3D vector short image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_yuv422_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUV422Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUV422Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new YUV colour gan_uint8 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_yuva444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUVA444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVA444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new YUVA colour gan_uint8 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image* gan_image_form_data_yuvx444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
struct Gan_YUVX444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVX444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Macro: Forms and returns a new YUV colour gan_uint8 image.

Parameters:
img Address of current image to be modified.
height Height of image
width Width of image
stride Stride of image
pix_data Pixel data as a one-dimensional array of pixels
pix_data_size Number of pixels in pix_data array
row_data Pointers to be set to the start of each row
row_data_size Size of row_data array, at least image height
Returns:
Pointer to formed image, or NULL on failure.
Forms and returns a new #GAN_IMAGE_FORMAT image of type #GAN_IMAGE_TYPE and given dimensions height, width and given stride $ (stride \geq width) $, using the provided pixel data and row data array.

Gan_Image * gan_image_form_gen Gan_Image img,
Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
void *  pix_data,
size_t  pix_data_size,
void *  row_data,
size_t  row_data_size
 

Form image.

Forms and returns an image img with given format, type, dimensions height and width. If the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_data_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

The stride indicates the separation in memory between adjacent rows of the image, and is measured in bytes. Without any padding of the image it will correspond to width pixels, in which case you should use the gan_image_form_data() macro instead.

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and width, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also gan_image_alloc() and gan_image_form().

struct Gan_Image * gan_image_form_gen_b Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
Gan_BitWord pix_data,
size_t  pix_data_size,
Gan_BitWord **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, Gan_Bool type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
double *  pix_data,
size_t  pix_data_size,
double **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
float *  pix_data,
size_t  pix_data_size,
float **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
int *  pix_data,
size_t  pix_data_size,
int **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
short *  pix_data,
size_t  pix_data_size,
short **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
unsigned char *  pix_data,
size_t  pix_data_size,
unsigned char **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, unsigned char type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
unsigned int *  pix_data,
size_t  pix_data_size,
unsigned int **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, unsigned int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_YXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui10 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with Grey level format, gan_uint16 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_YXPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_YXPixel_ui12 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with Grey level format, gan_uint16 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gl_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
unsigned short *  pix_data,
size_t  pix_data_size,
unsigned short **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, unsigned short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_d **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_f **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_i **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_s **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_uc **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, unsigned char type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_ui **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, unsigned int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_gla_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_GLAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_GLAPixel_us **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level alpha format, unsigned short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_p Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
void **  pix_data,
size_t  pix_data_size,
void ***  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with grey-level format, void * type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_d **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_f **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_i **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_s **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_uc **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, unsigned char type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_ui **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, unsigned int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgb_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBPixel_us **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, unsigned short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_d pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_d **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_f pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_f **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_i pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_i **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_s pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_s **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_uc pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_uc **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, unsigned char type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_ui pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, unsigned int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_ui12 pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_ui12 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGBA colour format, gan_uint16 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgba_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBAPixel_us pix_data,
size_t  pix_data_size,
struct Gan_RGBAPixel_us **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB-colour alpha format, unsigned short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgbas_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBASPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBASPixel_ui10 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGBA colour format, gan_uint16 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgbx_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBXPixel_ui10 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui10 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, gan_uint16 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_rgbx_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_RGBXPixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_RGBXPixel_ui8 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with RGB colour format, gan_uint8 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield2D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector2 pix_data,
size_t  pix_data_size,
struct Gan_Vector2 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 2D vector-field format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield2D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector2_f pix_data,
size_t  pix_data_size,
struct Gan_Vector2_f **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 2D vector-field format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield2D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector2_i pix_data,
size_t  pix_data_size,
struct Gan_Vector2_i **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 2D vector-field format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield2D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector2_s pix_data,
size_t  pix_data_size,
struct Gan_Vector2_s **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 2D vector-field format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield3D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector3 pix_data,
size_t  pix_data_size,
struct Gan_Vector3 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 3D vector-field format, double type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield3D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector3_f pix_data,
size_t  pix_data_size,
struct Gan_Vector3_f **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 3D vector-field format, float type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield3D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector3_i pix_data,
size_t  pix_data_size,
struct Gan_Vector3_i **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 3D vector-field format, int type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_vfield3D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_Vector3_s pix_data,
size_t  pix_data_size,
struct Gan_Vector3_s **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with 3D vector-field format, short type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_yuv422_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_YUV422Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUV422Pixel_ui8 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with YUV colour format, gan_uint8 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_yuva444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_YUVA444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVA444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with YUVA colour format, gan_uint8 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

struct Gan_Image * gan_image_form_gen_yuvx444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data,
struct Gan_YUVX444Pixel_ui8 pix_data,
size_t  pix_data_size,
struct Gan_YUVX444Pixel_ui8 **  row_data,
size_t  row_data_size
 

Form an image with specific format, type, dimensions and stride.

Forms and returns a new image with YUV colour format, gan_uint8 type, dimensions height, width and given stride. If the img image pointer is not NULL, img is formed; otherwise the image is dynamically allocated. Likewise if the provided pix_data and/or row_data pointers are NULL (in any combination), the pixel data array and/or the row start pointer array are dynamically allocated. If either are not NULL they must be big enough to hold the pixel/row pointer array data. If necessary use gan_image_pixel_size() to compute the necessary size of the pix_data array (the necessary size of row_data is height pointers).

If you want to dynamically allocate the pixel data array and/or the row pointer array with sizes greater than that necessary for the given height and stride, pass pix_data and/or row_data as NULL and set pix_data_size and/or row_data_size appropriately.

See also:
The specific image creation functions, e.g. gan_image_alloc_gl_uc().

Gan_Image* gan_image_form_gl_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level double image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type double with given dimensions height and width.

Gan_Image* gan_image_form_gl_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level float image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type float with given dimensions height and width.

Gan_Image* gan_image_form_gl_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 32-bit float image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 32-bit float with given dimensions height and width.

Gan_Image* gan_image_form_gl_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 64-bit float image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 64-bit float with given dimensions height and width.

Gan_Image* gan_image_form_gl_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level int image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type int with given dimensions height and width.

Gan_Image* gan_image_form_gl_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 32-bit signed image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 32-bit signed with given dimensions height and width.

Gan_Image* gan_image_form_gl_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level short image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type short with given dimensions height and width.

Gan_Image* gan_image_form_gl_uc Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level unsigned char image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type unsigned char with given dimensions height and width.

Gan_Image* gan_image_form_gl_ui Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level unsigned int image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type unsigned int with given dimensions height and width.

Gan_Image * gan_image_form_gl_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new Grey level image with type gan_uint16.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new Grey level image of type gan_uint16 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gl_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new Grey level image with type gan_uint16.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new Grey level image of type gan_uint16 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image* gan_image_form_gl_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 16-bit unsigned image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 16-bit unsigned with given dimensions height and width.

Gan_Image* gan_image_form_gl_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 32-bit unsigned image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 32-bit unsigned with given dimensions height and width.

Gan_Image* gan_image_form_gl_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level 8-bit unsigned image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type 8-bit unsigned with given dimensions height and width.

Gan_Image* gan_image_form_gl_us Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level unsigned short image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type unsigned short with given dimensions height and width.

Gan_Image * gan_image_form_gla_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type double.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type double and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 32-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 32-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 64-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 64-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 32-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 32-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_uc Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type unsigned char.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type unsigned char and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_ui Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type unsigned int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type unsigned int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 16-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 16-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 32-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 32-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type 8-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type 8-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_gla_us Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level alpha image with type unsigned short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new grey-level alpha image of type unsigned short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image* gan_image_form_p Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new grey-level void * image.

Parameters:
img Address of current image to be modified, or NULL to allocate
height Height of image
width Width of image
Returns:
Pointer to image formed, or NULL on failure.
Forms and returns a new grey-level image of type void * with given dimensions height and width.

Gan_Image * gan_image_form_rgb_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type double.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type double and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 32-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 32-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 64-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 64-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 32-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 32-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_uc Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type unsigned char.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type unsigned char and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_ui Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type unsigned int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type unsigned int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 16-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 16-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 32-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 32-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type 8-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type 8-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgb_us Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type unsigned short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type unsigned short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type double.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type double and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type 32-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type 32-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type 64-bit float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type 64-bit float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGBA colour image with type 32-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGBA colour image of type 32-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_uc Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type unsigned char.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type unsigned char and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_ui Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type unsigned int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type unsigned int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGBA colour image with type gan_uint16.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGBA colour image of type gan_uint16 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type 16-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type 16-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type 32-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type 32-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type 8-bit unsigned.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type 8-bit unsigned and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgba_us Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB-colour alpha image with type unsigned short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB-colour alpha image of type unsigned short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgbas_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGBA colour image with type gan_uint16.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGBA colour image of type gan_uint16 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgbx_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type gan_uint16.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type gan_uint16 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_rgbx_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new RGB colour image with type gan_uint8.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new RGB colour image of type gan_uint8 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type double.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type double and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type 32-bit floating.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type 32-bit floating and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type 64-bit floating.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type 64-bit floating and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_i16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type 16-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type 16-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type 32-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type 32-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield2D_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 2D vector image with type short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 2D vector image of type short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type double.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type double and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type float.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type float and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type 32-bit floating.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type 32-bit floating and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type 64-bit floating.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type 64-bit floating and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type int.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type int and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_i16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type 16-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type 16-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type 32-bit signed.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type 32-bit signed and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_vfield3D_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new 3D vector image with type short.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new 3D vector image of type short and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_yuv422_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new YUV colour image with type gan_uint8.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new YUV colour image of type gan_uint8 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_yuva444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new YUVA colour image with type gan_uint8.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new YUVA colour image of type gan_uint8 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

Gan_Image * gan_image_form_yuvx444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Forms and returns a new YUV colour image with type gan_uint8.

Returns:
The formed image img, or NULL on failure.
Forms and returns a new YUV colour image of type gan_uint8 and given dimensions height and width. If the img image pointer is not NULL, the given image pointer is formed; otherwise img is passed as NULL and the image is dynamically allocated.

Implemented as a macro.

void gan_image_free Gan_Image img  ) 
 

Macro: Free an image.

Free the memory associated with the image img.

void gan_image_free_va Gan_Image img,
  ...
 

Free a NULL terminated variable argument list of images.

Returns:
No value.
Free a NULL terminated variable argument list of images, starting with image img.

Gan_Image* gan_image_set_b Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type Gan_Bool.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Bool gan_image_set_data_free_func Gan_Image img,
void(*)(void *)  data_free_func
 

Sets the function to free the image data buffer.

Parameters:
img The image
data_free_func The free function
Returns:
GAN_TRUE on success, or GAN_FALSE on failure.
For images that have been created using a user-supplied data buffer, provide a function to use to free the user data buffer.

Gan_Image* gan_image_set_gl_d Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type double.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_f Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type float.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_f32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 32-bit float.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_f64 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 64-bit float.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_i Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type int.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_i32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 32-bit signed.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_s Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type short.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_uc Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type unsigned char.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_ui Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type unsigned int.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_ui16 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 16-bit unsigned.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_ui32 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 32-bit unsigned.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type 8-bit unsigned.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_gl_us Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type unsigned short.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_p Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set an existing image to be grey-level with type void *.

Returns:
Result image, or NULL on failure.
Set up an existing image as grey-level with given type and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.


Generated on Fri Mar 17 12:45:00 2006 by  doxygen 1.3.9.1