Resolution of raster images in SVG

        Currently, when writing a SVG, all raster images produced by
        imshow are
        scaled to a fixed, low resolution. (72dpi?)
        
        The least I would expect is the 'dpi=' option of savefig to be
        used for
        writing PNGs in the SVG renderer.

I would expect that too. print_figure() ignores the dpi option and
backend_svg.py has a dpi of 72 hardcoded in about 6 different places. A
month ago I tried changing it to respect the dpi argument, the figure
size and graphics shapes were correct but the text came out too small
and positioned incorrectly.

        Even better would be to switch off rescaling completely for
        any vector
        output (EPS and SVG). This would allow optimal quality in
        post-processing.
        
        I even believe that rescaling to a uniform resolution should
        be an
        option, not the default.
        
        Has anybody else spent thought on this?

Steve

Send instant messages to your online friends http://au.messenger.yahoo.com

···

On Fri, 2005-08-05 at 20:28 -0700, Norbert Nemec wrote: