If the image crate doesn't add too much to the binary size, then it would be a nice choice because it supports other image formats as well like webp. But I think jpeg is the most important, so jpeg-encoder or zune-jpeg might be a better choice if they are smaller.
It would be great to support writing charts to jpeg images for use cases where image size is an important concern.
There are few options in Rust for writing jpeg images:
image
crate supports many image formats including JPEG: https://docs.rs/image/latest/image/codecs/index.html#supported-formatsIf the image crate doesn't add too much to the binary size, then it would be a nice choice because it supports other image formats as well like webp. But I think jpeg is the most important, so
jpeg-encoder
orzune-jpeg
might be a better choice if they are smaller.