Jozef Vesely wrote:
> Hello matplotlib developers,
> 
> I have implemented "svg.image_noscale" feature for ps and pdf backends. I 
> think
> that resampling/scaling should be avoided, when vector format can scale image
> itself.

It seems to me best if there is an option to scale or not; depending on 
the situation, one might want to generate a file with images downscaled.

> 
> One advantage is that original image can be recovered from final file. 
> Moreover
> as it is vector format it should be dpi independent and always provide maximum
> possible quality - that's original data.
> 
> As for svg backend I have commented some transformation changes which 
> I don't understand and which result in misaligned image and axes. 
> Without it the misalignment is still there but smaller.
> I have also removed MixedModeRenderer from svg as it conflicts with 
> "svg.image_noscale"
> and does not seem to be used.
> 

I think having the option of using the MixedModeRenderer is important in 
the long run for the vector backends; without it, one can end up with 
completely unwieldy and potentially unrenderable files.  I'm not sure 
what its status is at present; I think Mike got it working to a 
considerable extent, but didn't quite finish, and therefore left it 
temporarily disabled.

Eric

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to