Functions | |
Gan_Bool | gan_image_test_format (const Gan_Image *img, Gan_ImageFormat format) |
Macro: Test image format. | |
Gan_Bool | gan_image_test_type (const Gan_Image *img, Gan_Type type) |
Macro: Test image type. | |
Gan_Bool | gan_image_test_dims (const Gan_Image *img1, const Gan_Image *img2) |
Macro: Test image dimensions. |
|
Macro: Test image dimensions. Returns GAN_TRUE if the dimensions (width & height) of the given image img1 are the same as those of img2, GAN_FALSE otherwise. |
|
Macro: Test image format. Returns GAN_TRUE if the format of the given img is format, GAN_FALSE otherwise. |
|
Macro: Test image type. Returns GAN_TRUE if the type of the given img is type, GAN_FALSE otherwise. |