validate_image
Validates that the object plugged into image
is in fact a valid image. Can be used to ensure that an object is an image, or is a well-formed one. This returns valid
, a boolean indicating true for a valid image, and error_description
is a string containing a description of the error if invalid.
For technical information on structure of textures and images, see the documentation for get_texture_structure
and get_image_structure
.
This is analogous to validate_mesh
, but for images.