A better approach, originally suggested by Andreas Gustaffson in his 1993 Masters thesis, is used by ImageMagick and the GEGL (GEneric Graphic Library). It relies, basically, on polar decomposition (by stretching the minor and major axes of the ellipse if too short, keeping it's orientation intact).
http://www.imagemagick.org/api/MagickCore/resample_8c_source.html https://github.com/GNOME/gegl/blob/master/gegl/buffer/gegl-sampler-lohalo.c https://github.com/GNOME/gegl/blob/master/gegl/buffer/gegl-sampler-nohalo.c _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
