case 5:
            BufferedImage step1ImgB = Scalr.rotate(tmpImg, Scalr.Rotation.CW_90);
            tmpImg = Scalr.rotate(step1ImgB, Scalr.Rotation.FLIP_HORZ);
            break;