flip and crop images; tons of test coverage