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:21 AM, Frank Breitling wrote:
> 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!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to