On Mon, Jun 9, 2008 at 11:45 AM, Gregor Thalhammer > > If I understood it correctly, Agg (i.e., span_image_resample_*) already > exactly behaves like you proposed. It resamples the image if the scaling is > less than 1, otherwise it interpolates.
> I am not an Agg expert. The documentation of Agg is not very exhaustive. I > took it from one of the demos. span_image_resample_rgba_affine seems to be > faster than span_image_resample_rgba, but it supports affine but no > perspective transformations. If I understood it correctly, matplotlib only > uses image translation and scaling, not even rotation or shearing. All this > is covered by span_image_resample_rgba_affine. OK, all this sounds reasonable. I've committed the changes to the trunk. Thanks for the explanation and the patch! JDH ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel