Skip to contents

Export image as code file defining an array of bytes, returns true on success.

Usage

export_image_as_code(image, file_name)

Arguments

image

An image.

file_name

A string.

Value

A logical

Note

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

bool ExportImageAsCode(Image image, const char * fileName);

Examples

if (FALSE) {
export_image_as_code(gen_image_color(100, 100, "blue"), "file.png")
}