I’m trying to reduce the file size of the inline images in my notebook. I changed the default value of InlineBackend.figure_format=‘png’ to ‘jpeg’, and although the notebook now outputs jpeg images, the file size isn’t that much smaller. Is there a way to change the jpeg quality to get a smaller file size?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Cell output images saved as jpeg instead of png? | 0 | 529 | July 19, 2021 | |
Here's a script to reduce size of a notebook with many png images | 2 | 492 | November 19, 2024 | |
Save and Export notebook as | 0 | 56 | November 11, 2024 | |
Cell magic to save image output as a .png file | 15 | 26405 | March 20, 2025 | |
Jupyter qtconsole cursor type and image size config | 0 | 853 | October 2, 2019 |