pub fn encode_to_file(linear: &Rgb32FImage, path: &Path) -> Result<()>Expand description
Encode a linear sRGB f32 image to a file, converting to sRGB gamma space.
Uses default options (JPEG quality 92, format inferred from extension).
For more control, use encode_to_file_with_options.