Improve Images
Make a number of improvements to the Image
struct. Among other things, this significantly reduces memory usage.
-
Color
now usesf32
instead off64
-
Image
now only storesVec<Color>
-
Image
now usesu32
for dimensions -
Image::from_hdr_file()
has been removed in favor ofImage::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