case 4:
            BufferedImage step1ImgA = Scalr.rotate(tmpImg, Scalr.Rotation.CW_180);
            tmpImg = Scalr.rotate(step1ImgA, Scalr.Rotation.FLIP_HORZ);
            break;