vega / vl-convert

Utilities for converting Vega-Lite specs from the command line and Python
BSD 3-Clause "New" or "Revised" License
89 stars 9 forks source link

JPEG support #92

Closed jonmmease closed 10 months ago

jonmmease commented 10 months ago

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:

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.