mirror of https://github.com/GNOME/gimp.git
file-pnm: Don't write comments into PFM files
This commit is contained in:
parent
2b4152037d
commit
932401e051
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue