Fixed arguments to imagejpeg().