Skip to contents

Check if an image is valid (data and parameters).

Usage

is_image_valid(image)

Arguments

image

An image.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool IsImageValid(Image image);

See also

Other valid functions: is_audio_stream_valid(), is_file_name_valid(), is_font_valid(), is_material_valid(), is_model_animation_valid(), is_model_valid(), is_music_valid(), is_render_texture_valid(), is_shader_valid(), is_sound_valid(), is_texture_valid(), is_wave_valid()

Other image functions: export_image(), export_image_as_code(), gen_image_cellular(), gen_image_checked(), gen_image_color(), gen_image_gradient_linear(), gen_image_gradient_radial(), gen_image_gradient_square(), gen_image_perlin_noise(), gen_image_text(), gen_image_white_noise(), get_clipboard_image(), get_image_alpha_border(), get_image_color(), image_draw_line_ex(), image_draw_triangle(), image_from_image(), load_font_from_image(), load_image(), load_image_from_screen(), load_image_from_texture(), load_image_raw(), load_texture_from_image(), unload_image()

Other is functions: color_is_equal(), is_audio_device_ready(), is_audio_stream_playing(), is_audio_stream_processed(), is_audio_stream_valid(), is_cursor_hidden(), is_cursor_on_screen(), is_file_dropped(), is_file_extension(), is_file_name_valid(), is_font_valid(), is_gamepad_available(), is_gamepad_button_down(), is_gamepad_button_pressed(), is_gamepad_button_released(), is_gamepad_button_up(), is_gesture_detected(), is_key_down(), is_key_pressed(), is_key_pressed_repeat(), is_key_released(), is_key_up(), is_material_valid(), is_model_animation_valid(), is_model_valid(), is_mouse_button_down(), is_mouse_button_pressed(), is_mouse_button_released(), is_mouse_button_up(), is_music_stream_playing(), is_music_valid(), is_path_file(), is_render_texture_valid(), is_shader_valid(), is_sound_playing(), is_sound_valid(), is_texture_valid(), is_wave_valid(), is_window_focused(), is_window_fullscreen(), is_window_hidden(), is_window_maximized(), is_window_minimized(), is_window_ready(), is_window_resized(), is_window_state(), text_is_equal()

Examples

if (FALSE) {
is_image_valid(gen_image_color(100, 100, "blue"))
}