Flip, rotate and invert images in C++