Skip to contents

Modify image color: grayscale.

Usage

image_color_grayscale(image)

Arguments

image

An image.

Note

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

void ImageColorGrayscale(Image *image);

See also

image() for creating image objects.

Other image functions: export_image_as_code(), export_image(), gen_image_cellular(), gen_image_checked(), gen_image_color(), gen_image_gradient_h(), gen_image_gradient_radial(), gen_image_gradient_v(), gen_image_white_noise(), get_image_alpha_border(), get_image_color(), image_alpha_clear(), image_alpha_crop(), image_alpha_mask(), image_alpha_premultiply(), image_clear_background(), image_color_brightness(), image_color_contrast(), image_color_invert(), image_color_replace(), image_color_tint(), image_copy(), image_crop(), image_dither(), image_draw_circle_v(), image_draw_circle(), image_draw_line_v(), image_draw_line(), image_draw_pixel_v(), image_draw_pixel(), image_draw_rectangle_lines(), image_draw_rectangle_rec(), image_draw_rectangle_v(), image_draw_rectangle(), image_draw_text_ex(), image_draw_text(), image_draw(), image_flip_horizontal(), image_flip_vertical(), image_format(), image_from_image(), image_mipmaps(), image_resize_canvas(), image_resize_nn(), image_resize(), image_rotate_ccw(), image_rotate_cw(), image_text_ex(), image_text(), image_to_pot(), load_font_from_image(), load_image_from_screen(), load_image_from_texture(), load_image_raw(), load_image(), load_texture_from_image(), unload_image_colors(), unload_image_palette(), unload_image()

Other color functions: as_color(), color_alpha_blend(), color_alpha(), color_from_hsv(), color_from_normalized(), color_normalize(), color_to_hsv(), color_to_int(), color(), gen_image_color(), get_color(), get_image_color(), image_color_brightness(), image_color_contrast(), image_color_invert(), image_color_replace(), image_color_tint()