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

Set Attributes of an Image
[Image Package]


Functions

Gan_Imagegan_image_set_gen_b (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of 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_set_format_type_dims_gen (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Sets the format, type, dimensions and stride of an image.
Gan_Imagegan_image_set_format_type_dims (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width)
 Macro: Set format, type and dimensions of image.
Gan_Imagegan_image_set_format_type (Gan_Image *img, Gan_ImageFormat format, Gan_Type type)
 Macro: Set format and type of image.
Gan_Imagegan_image_set_type (Gan_Image *img, Gan_Type type)
 Macro: Set type of image.
Gan_Imagegan_image_set_dims (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set height and width of image.
Gan_Imagegan_image_set_gen_gl_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gl_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gl_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be Grey level with type gan_uint16.
Gan_Imagegan_image_set_gen_gl_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gl_ui12 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be Grey level with type gan_uint16.
Gan_Imagegan_image_set_gen_gl_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
Gan_Imagegan_image_set_gen_gl_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_gla_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type double.
Gan_Imagegan_image_set_gen_gla_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type float.
Gan_Imagegan_image_set_gen_gla_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 32-bit float.
Gan_Imagegan_image_set_gen_gla_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 64-bit float.
Gan_Imagegan_image_set_gen_gla_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type int.
Gan_Imagegan_image_set_gen_gla_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 32-bit signed.
Gan_Imagegan_image_set_gen_gla_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type short.
Gan_Imagegan_image_set_gen_gla_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type unsigned char.
Gan_Imagegan_image_set_gen_gla_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type unsigned int.
Gan_Imagegan_image_set_gen_gla_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 16-bit unsigned.
Gan_Imagegan_image_set_gen_gla_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 32-bit unsigned.
Gan_Imagegan_image_set_gen_gla_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_gla_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type 8-bit unsigned.
Gan_Imagegan_image_set_gen_gla_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gla_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be grey-level alpha with type unsigned short.
Gan_Imagegan_image_set_gen_p (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_gen_rgb_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type double.
Gan_Imagegan_image_set_gen_rgb_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type float.
Gan_Imagegan_image_set_gen_rgb_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 32-bit float.
Gan_Imagegan_image_set_gen_rgb_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 64-bit float.
Gan_Imagegan_image_set_gen_rgb_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type int.
Gan_Imagegan_image_set_gen_rgb_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 32-bit signed.
Gan_Imagegan_image_set_gen_rgb_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type short.
Gan_Imagegan_image_set_gen_rgb_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type unsigned char.
Gan_Imagegan_image_set_gen_rgb_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type unsigned int.
Gan_Imagegan_image_set_gen_rgb_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 16-bit unsigned.
Gan_Imagegan_image_set_gen_rgb_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 32-bit unsigned.
Gan_Imagegan_image_set_gen_rgb_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgb_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type 8-bit unsigned.
Gan_Imagegan_image_set_gen_rgb_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgb_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type unsigned short.
Gan_Imagegan_image_set_gen_rgba_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type double.
Gan_Imagegan_image_set_gen_rgba_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type float.
Gan_Imagegan_image_set_gen_rgba_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type 32-bit float.
Gan_Imagegan_image_set_gen_rgba_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type 64-bit float.
Gan_Imagegan_image_set_gen_rgba_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type int.
Gan_Imagegan_image_set_gen_rgba_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGBA colour with type 32-bit signed.
Gan_Imagegan_image_set_gen_rgba_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type short.
Gan_Imagegan_image_set_gen_rgba_uc (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_uc (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type unsigned char.
Gan_Imagegan_image_set_gen_rgba_ui (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_ui (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type unsigned int.
Gan_Imagegan_image_set_gen_rgba_ui12 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_ui12 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGBA colour with type gan_uint16.
Gan_Imagegan_image_set_gen_rgba_ui16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_ui16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type 16-bit unsigned.
Gan_Imagegan_image_set_gen_rgba_ui32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_ui32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type 32-bit unsigned.
Gan_Imagegan_image_set_gen_rgba_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_rgba_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type 8-bit unsigned.
Gan_Imagegan_image_set_gen_rgba_us (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgba_us (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB-colour alpha with type unsigned short.
Gan_Imagegan_image_set_gen_rgbas_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgbas_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGBA colour with type gan_uint16.
Gan_Imagegan_image_set_gen_rgbx_ui10 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgbx_ui10 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type gan_uint16.
Gan_Imagegan_image_set_gen_rgbx_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_rgbx_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be RGB colour with type gan_uint8.
Gan_Imagegan_image_set_gen_vfield2D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield2D_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type double.
Gan_Imagegan_image_set_gen_vfield2D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield2D_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type float.
Gan_Imagegan_image_set_gen_vfield2D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield2D_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type 32-bit floating.
Gan_Imagegan_image_set_gen_vfield2D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield2D_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type 64-bit floating.
Gan_Imagegan_image_set_gen_vfield2D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield2D_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type int.
Gan_Imagegan_image_set_gen_vfield2D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield2D_i16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type 16-bit signed.
Gan_Imagegan_image_set_gen_vfield2D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield2D_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type 32-bit signed.
Gan_Imagegan_image_set_gen_vfield2D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield2D_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 2D vector with type short.
Gan_Imagegan_image_set_gen_vfield3D_d (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield3D_d (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type double.
Gan_Imagegan_image_set_gen_vfield3D_f (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield3D_f (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type float.
Gan_Imagegan_image_set_gen_vfield3D_f32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield3D_f32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type 32-bit floating.
Gan_Imagegan_image_set_gen_vfield3D_f64 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield3D_f64 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type 64-bit floating.
Gan_Imagegan_image_set_gen_vfield3D_i (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield3D_i (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type int.
Gan_Imagegan_image_set_gen_vfield3D_i16 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield3D_i16 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type 16-bit signed.
Gan_Imagegan_image_set_gen_vfield3D_i32 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Not a user function.
Gan_Imagegan_image_set_vfield3D_i32 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type 32-bit signed.
Gan_Imagegan_image_set_gen_vfield3D_s (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_vfield3D_s (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be 3D vector with type short.
Gan_Imagegan_image_set_gen_yuv422_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_yuv422_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be YUV colour with type gan_uint8.
Gan_Imagegan_image_set_gen_yuva444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_yuva444_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be YUVA colour with type gan_uint8.
Gan_Imagegan_image_set_gen_yuvx444_ui8 (Gan_Image *img, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data)
 Set format, type, dimension and stride attributes of an image.
Gan_Imagegan_image_set_yuvx444_ui8 (Gan_Image *img, unsigned long height, unsigned long width)
 Macro: Set an existing image to be YUV colour with type gan_uint8.

Function Documentation

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_dims Gan_Image img,
unsigned long  height,
unsigned long  width
 

Macro: Set height and width of image.

Set dimensions of image img to height and width. The format and type of img are unchanged.

Implemented as a macro call to gan_image_set_format_type_dims().

Gan_Image* gan_image_set_format_type Gan_Image img,
Gan_ImageFormat  format,
Gan_Type  type
 

Macro: Set format and type of image.

Set format of image img to format and its type to type. The dimensions of A remain unchanged.

Implemented as a macro call to gan_image_set_format_type_dims().

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

Macro: Set format, type and dimensions of image.

Set format of image img to format, its type to type, and its dimensions to width and height. The stride is also set to width.

Implemented as a macro call to gan_image_set_format_type_dims_gen().

Gan_Image * gan_image_set_format_type_dims_gen Gan_Image img,
Gan_ImageFormat  format,
Gan_Type  type,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Sets the format, type, dimensions and stride of an image.

Parameters:
img Pointer to the image
format The format to set the image
type The type to set the image
height The height to set the image
width The width to set the image
stride The stride of the image in bytes
alloc_pix_data Whether or not to allocate the pixel data
Returns:
Pointer to the successfully modified image, or NULL on failure.
Sets the format, type, height, width and stride of an image.

struct Gan_Image * gan_image_set_gen_b Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and Gan_Bool type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and unsigned char type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and unsigned int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to Grey level format and gan_uint16 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to Grey level format and gan_uint16 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gl_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and unsigned short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and unsigned char type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and unsigned int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_gla_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level alpha format and unsigned short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_p Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to grey-level format and void * type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and unsigned char type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and unsigned int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgb_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and unsigned short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_uc Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and unsigned char type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_ui Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and unsigned int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_ui12 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGBA colour format and gan_uint16 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgba_us Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB-colour alpha format and unsigned short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgbas_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGBA colour format and gan_uint16 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgbx_ui10 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and gan_uint16 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_rgbx_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to RGB colour format and gan_uint8 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield2D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 2D vector-field format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield2D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 2D vector-field format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield2D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 2D vector-field format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield2D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 2D vector-field format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield3D_d Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 3D vector-field format and double type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield3D_f Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 3D vector-field format and float type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield3D_i Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 3D vector-field format and int type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_vfield3D_s Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to 3D vector-field format and short type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_yuv422_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to YUV colour format and gan_uint8 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_yuva444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to YUVA colour format and gan_uint8 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

struct Gan_Image * gan_image_set_gen_yuvx444_ui8 Gan_Image img,
unsigned long  height,
unsigned long  width,
unsigned long  stride,
Gan_Bool  alloc_pix_data
 

Set format, type, dimension and stride attributes of an image.

Returns:
Result image img on success, NULL on failure.
Set image img to YUV colour format and gan_uint8 type, and given dimensions height, width, and given stride. img should be a previously created image, although it may have have any format and type before this function is called. Gandalf will reorganise and reallocate data accordingly in order to correspond to the requested new format and type. alloc_pix_data specifies whether to allocate the pixel data.

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

Macro: Set an existing image to be Grey level with type gan_uint16.

Returns:
The result image img.
Set up an existing image img as Grey level format with type gan_uint16 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be Grey level with type gan_uint16.

Returns:
The result image img.
Set up an existing image img as Grey level format with type gan_uint16 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type double.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type double and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type float.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 32-bit float.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 32-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 64-bit float.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 64-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type int.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 32-bit signed.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 32-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type short.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type unsigned char.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type unsigned char and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type unsigned int.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type unsigned int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 16-bit unsigned.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 16-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 32-bit unsigned.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 32-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type 8-bit unsigned.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type 8-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be grey-level alpha with type unsigned short.

Returns:
The result image img.
Set up an existing image img as grey-level alpha format with type unsigned short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type double.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type double and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type float.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 32-bit float.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 32-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 64-bit float.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 64-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type int.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 32-bit signed.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 32-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type short.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type unsigned char.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type unsigned char and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type unsigned int.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type unsigned int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 16-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 16-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 32-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 32-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type 8-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type 8-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type unsigned short.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type unsigned short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type double.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type double and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type float.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type 32-bit float.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type 32-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type 64-bit float.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type 64-bit float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type int.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGBA colour with type 32-bit signed.

Returns:
The result image img.
Set up an existing image img as RGBA colour format with type 32-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type short.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type unsigned char.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type unsigned char and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type unsigned int.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type unsigned int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGBA colour with type gan_uint16.

Returns:
The result image img.
Set up an existing image img as RGBA colour format with type gan_uint16 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type 16-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type 16-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type 32-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type 32-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type 8-bit unsigned.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type 8-bit unsigned and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB-colour alpha with type unsigned short.

Returns:
The result image img.
Set up an existing image img as RGB-colour alpha format with type unsigned short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGBA colour with type gan_uint16.

Returns:
The result image img.
Set up an existing image img as RGBA colour format with type gan_uint16 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type gan_uint16.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type gan_uint16 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be RGB colour with type gan_uint8.

Returns:
The result image img.
Set up an existing image img as RGB colour format with type gan_uint8 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

Gan_Image* gan_image_set_type Gan_Image img,
Gan_Type  type
 

Macro: Set type of image.

Set type of image to type. The format and dimensions of A remain unchanged.

Implemented as a macro call to gan_image_set_format_type_dims().

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

Macro: Set an existing image to be 2D vector with type double.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type double and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type float.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type 32-bit floating.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type 32-bit floating and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type 64-bit floating.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type 64-bit floating and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type int.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type 16-bit signed.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type 16-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type 32-bit signed.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type 32-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 2D vector with type short.

Returns:
The result image img.
Set up an existing image img as 2D vector format with type short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type double.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type double and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type float.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type float and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type 32-bit floating.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type 32-bit floating and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type 64-bit floating.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type 64-bit floating and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type int.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type int and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type 16-bit signed.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type 16-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type 32-bit signed.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type 32-bit signed and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be 3D vector with type short.

Returns:
The result image img.
Set up an existing image img as 3D vector format with type short and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be YUV colour with type gan_uint8.

Returns:
The result image img.
Set up an existing image img as YUV colour format with type gan_uint8 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be YUVA colour with type gan_uint8.

Returns:
The result image img.
Set up an existing image img as YUVA colour format with type gan_uint8 and dimensions height, width and given stride $ (stride \geq width) $.

Implemented as a macro.

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

Macro: Set an existing image to be YUV colour with type gan_uint8.

Returns:
The result image img.
Set up an existing image img as YUV colour format with type gan_uint8 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