Average pixel value of two image files calculated and new image file is created.