Revert "When using nearest neighbor interpolation and not actually scaling, just copy the data.  (Note we don't do this for other kinds of interpolation, because the filtering on those interpolations could have an effect even when not actually scaling.)"

This reverts commit 1c9f9b5f6cb3b308df95e56f7230d71963837812.
Partial revert of 8c25664fcfcb9c2e288607ff86d0a1957248284f

This removes the flipping done in Python and keeps the regression tests.
Merge pull request #1691 from dmcdougall/fix_svg_flip2

Fix svg flipping (again)