Sergey "Shnatsel" Davidoff

Results 942 comments of Sergey "Shnatsel" Davidoff

The use case I had in mind was AI image generators. They typically run on beefy machines and need to encode the generated images losslessly, both to store later and...

What is the motivation for this change? Paletted mode mostly provides size savings, but BMP is an awful format if you want a small image size, so I'm not sure...

Oh, you needed to write a paletted image with 16 colors for embedded use where it's cheap to decode? That explains the motivation, thank you.

It's not hard to stick a `pub` on `write_to_file`, but the use of cargo-cyclonedx as a library was never intended. Right now we may break the API in a patch...

Could you tell me more about your use of cargo-cyclonedx as a library? What are the requirements and what are you trying to accomplish? We might be able to modularize...

There hasn't. This particular change seems straightforward enough, so you could just open a PR and I'll go ahead and merge it. Note that the library API of `cargo-cyclonedx` is...

We've been waiting on https://github.com/memorysafety/rav1d/pull/1439 or for dav1d-sys crate to support rav1d before we can switch to rav1d for decoding. Depending on a private fork of rav1d that is not...

Performance on par with zlib-ng and possibly trailing behind zlib-rs slightly is still valuable because `fdeflate` is implemented entirely in safe code, which is a key requirement for Chromium. The...

`alpha > 127` is what I need for `wondermagick`: https://github.com/Shnatsel/wondermagick/issues/59 I could also work around that in alpha adjustment prepass at the cost of some performance.

We might also need to port https://github.com/image-rs/image/pull/2387 to `jpeg-encoder`