file-pnm: Don't write comments into PFM files

This commit is contained in:
Mukund Sivaraman 2015-01-21 15:24:22 +05:30
parent 2b4152037d
commit 932401e051
1 changed files with 8 additions and 5 deletions

View File

@ -1388,12 +1388,15 @@ save_image (GFile *file,
g_free (cmap);
}
if (!float_format)
{
/* write out comment string */
comment = g_strdup_printf("# Created by GIMP version %s PNM plug-in\n",
GIMP_VERSION);
if (! output_write (output, comment, strlen (comment), error))
goto out;
}
/* write out resolution and maxval */
if (pbm)