Converting a BGRA &[u8] to RGB [u8;N] (for images)?

Here's a couple approaches using chunks_exact (one allocating, one not).

3 Likes