@Test
public void cloneRotateAndFlipTests() throws Exception
{
try{
File[] files = FileUtils.getFileList(resourceLocation, true);
BitmapBufferedImageImpl abbi;
for(File f: files)
{
BufferedImage bitmap = ImageIO.read(new File(f.getAbsolutePath()));
abbi = new BitmapBufferedImageImpl(bitmap);
cloneResizeAndSave(abbi, FileUtils.combineFilePath(outputLocation, f.getName()));
cloneTileAndSave(abbi, 5, FileUtils.combineFilePath(outputLocation, f.getName()));
cloneTileAndSave(abbi, 5, FileUtils.combineFilePath(outputLocation, f.getName()));
cloneRotateAndFlip(abbi, Math.toRadians(0), true, false,
FileUtils.combineFilePath(outputLocation, f.getName()));