[Gimp-developer] png file exports - disable metadata?

Paul Jewell via gimp-developer-list <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <CALwQnO2QkaKk0erd_pEr9mk=EJBXGMX9gj2mx+gFRpSku+t_HQ@mail.gmail.com>
Hi All, I am wondering about a curious event I am seeing related to
exporting PNG images from Gimp either through the usual interface, or via a
script like so:

pdb.file_png_save2(gimp.image_list()[0], gimp.image_list()[0].layers[0],
'/tmp/test1.png', '/tmp/test1.png', 0, 0, 0, 0, 0, 0, 0, 0, 0)
pdb.file_png_save2(gimp.image_list()[0], gimp.image_list()[0].layers[0],
'/tmp/test2.png', '/tmp/test2.png', 0, 0, 0, 0, 0, 0, 0, 0, 0)

It seems that exporting these two pngs, some different data is written
because they have a different sha1sum. (I would guess timestamp, but I
disabled this with the plugin option as shown) This weirdness does not seem
to happen with other file formats like webp, raw, etc. Is there any way to
disable the writing of this extra data?
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.