Skip to content

Improve Images

Philipp Dobler requested to merge better-images into main

Make a number of improvements to the Image struct. Among other things, this significantly reduces memory usage.

  • Color now uses f32 instead of f64
  • Image now only stores Vec<Color>
  • Image now uses u32 for dimensions
  • Image::from_hdr_file() has been removed in favor of Image::from_file(), which now automatically detects HDR files
  • Image::denoise() has been fixed
  • the tile size is now part of Camera
  • image-rs has been bumped

Merge request reports