rgbe

Crates.iorgbe
lib.rsrgbe
version0.0.1
sourcesrc
created_at2024-02-28 23:25:44.165108
updated_at2024-02-28 23:25:44.165108
descriptionA library for loading and handling RGBE-format HDR textures.
homepagehttps://github.com/george-steel/rgbe-rs
repositoryhttps://github.com/george-steel/rgbe-rs
max_upload_size
id1157129
size32,019
George Steel (george-steel)

documentation

https://docs.rs/rgbe

README

rgbe: A library for handling RGBE-format HDR images

This crate contains types which correspond to the RGBE8 and RGB9E5 common-exponent unsigned float formats used to represent high dynamic range images. RGBE8 images can be loaded from Radiance HDR files and can also be loaded from and saved to PNG files which save the exponent in the alpha channel (compatible with hdrpng.js) for significantly smaller file sizes. RGBE8 images (as well as floating point images) can also be converted to RGB9E5 for use as GPU textures.

As well as the library, this package also contasins a command-line tool hdr2rgbe-png to compress Radiance HDR images into RGBE8 PNG, which results in much smaller file sizes.

Commit count: 0

cargo fmt