Minor corrections to the image format and prediction method.