Skip to main content

Module encode

Module encode 

Source
Expand description

Image encoding: writing rendered output to JPEG, PNG, TIFF.

Structs§

EncodeOptions
Options controlling image encoding.

Enums§

OutputFormat
Supported output image formats.

Functions§

encode_to_file
Encode a linear sRGB f32 image to a file, converting to sRGB gamma space.
encode_to_file_with_options
Encode a linear sRGB f32 image to a file with full options.
linear_to_srgb_dynamic
Convert a linear sRGB f32 image buffer to a DynamicImage in sRGB gamma space.
resolve_output
Resolve the output file path and format.