Radzivon Bartoshyk
Radzivon Bartoshyk
I actually think it just adds a bit more boilerplate to rewrite all that bound to ```MaybeUninit``` in safe Rust. The buffer [is allocated only once](https://doc.rust-lang.org/src/std/io/buffered/bufreader/buffer.rs.html), and we afaik don't...
> `BufReader` doesn't have any specialization, so `BufReader` still naively buffers, so it wouldn't be great to take `io::Read` and always wrap it in a `BufReader`. > > Maybe the...
I believe before adding any new processing methods [iterators](https://github.com/image-rs/image/issues/2300) at the very least need to get sorted out. As for now we're technically encouraging users to use a highly inefficient...
I agree with @kornelski that exposing YUV, CMYK and other color models in the same paths is cumbersome. This will require matching `AwesomeTypes` ( see below ) what makes life...
Here is a few issues with gain maps, at least with math: - libultrahdr has its own gain map - AVIF has its own gain map - Apple and Adobe...
I recently ported my HDR tonemapping to Rust, you could copy/use it https://github.com/awxkee/gainforge. It is actually not really such complex, at least until you want to use ITU-R Rec. 2408....
Thanks @kornelski for pointing out how to handle that! [Here](https://github.com/google/libultrahdr/blob/bf2aa439eea9ad5da483003fa44182f990f74091/docs/jpegr_format.png) is file structure of UHDR what is assumed. Thus, UHDR image is litteraly 2 jpegs concatenated together in one file....
> Have you really written your own CMS for this!? lcms2 might be adopted for this case. I never did exactly this through lcms2, but it is likely possible. However,...
We've handled all JPEG markers in zune-jpeg. [Here](https://github.com/awxkee/gainforge?tab=readme-ov-file#how-to-handle-uhdr) is some info if someone wants to see how it looks. In addition to what I wrote before, an XML serializer is...
> Have you really written your own CMS for this!? > > There's https://lib.rs/qcms from Firefox. I maintain lcms2 bindings https://lib.rs/lcms2, and although that is C, I found it pretty...