Sorry for the noise -- I missed that this was already replied to (and
with much greater detail).
Mike
On 09/06/2011 12:41 PM, Michael Droettboom wrote:
> When you call savefig(), you can pass "quality", "optimize" and
> "progressive", as defined in the print_jpg docstring:
>
> def prin
When you call savefig(), you can pass "quality", "optimize" and
"progressive", as defined in the print_jpg docstring:
def print_jpg(self, filename_or_obj, *args, **kwargs):
"""
Supported kwargs:
*quality*: The image quality, on a scale from 1 (wors
You can use dpi=600 as a parameter to increase the resolution but I'm
not sure if that's what you mean. If you mean the actual compression
strategy used like to Jpeg2000 per se. Might have to do that after
saving the file with an image library (for example, PIL).
Cheers,
Jeff
On 09/06/2011 03:
Hi,
I am using matplotlib.savefig to save my figures as JPEG files.
Now I need to reduce the JPG compression ratio.
How can I do this?
Any hint is appreciated.
Frank
--
Special Offer -- Download ArcSight Logger for FREE