case 7:
            BufferedImage step1ImgC = Scalr.rotate(tmpImg, Scalr.Rotation.CW_270);
            tmpImg = Scalr.rotate(step1ImgC, Scalr.Rotation.FLIP_HORZ);
            break;