> [had to delete an endless amount of stuff not related to matplotlib] matplotlib is _not_ a dedicated image manipulation package, so please don't blame it that you don't manage to easily use it as such one. However, matplotlib indeed offers high quality image scaling abilities (at the moment not for downscaling) due to the use of Agg.
If you want a simpler solution, try this: import wx img = wx.Image('your image.jpg') scale = 2 img.Rescale(img.Width * scale, img.Height * scale, wx.IMAGE_QUALITY_HIGH) img.SaveFile('your scaled image.jpg') Gregor ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users