Rotate an image by 90, 180, or 270 degrees and flip it horizontally or vertically, processed in memory and never stored.