Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: convert images to RGB8 (without alpha) before encoding into JPEG
Otherwise an error "The encoder or decoder for Jpeg does not support the color type `Rgba8`" is returned if image has an alpha channel. This is caused by the recent change of JPEG encoder in `image` crate: <image-rs/image#2211>
- Loading branch information