private static Path saveGeneratedImageToChangedImages(Path generatedImage, String imageFileName) throws IOException{
        Path savedImage = Paths.get("build/changed-images/" + imageFileName + ".png");
        Files.createDirectories(savedImage.getParent());
        Files.copy(generatedImage, savedImage, StandardCopyOption.REPLACE_EXISTING);
        aggressivelyCompressImage(savedImage);
        return savedImage;
    }
Saves the image with the exact file name it needs to go into the resources directory to be a new reference image
if the instigator of the change wants to accept this as the new "correct" state.
jme3-screenshot-tests/src/main/java/org/jmonkeyengine/screenshottests/testframework/TestDriver.java