The resulting image is now correctly output to the images folder, with the name result.png.