jpegxl-rs icon indicating copy to clipboard operation
jpegxl-rs copied to clipboard

encode() Does Not Respect ColorEncoding

Open namse opened this issue 5 months ago • 1 comments

When ColorEncoding is set to luma, num_channels should be 1. However, in the current code, if luma is used, the pixel_format() of EncoderFrame always returns num_channels as 3. This should be 1.

namse avatar Aug 29 '24 09:08 namse