Page 1 of 1

Strip PNG:datemodify metadata?

Posted: 2016-10-01T16:45:49-07:00
by fotinakis
Hey friends,

I previously used "convert -strip" to remove PNG:datemodify metadata, but found this behavior changed in 6.8.9:
# 2014-04-22 6.8.9-1 Glenn Randers-Pehrson <glennrp@image...>
# * The "-strip" option now only removes profiles and comments from PNG
# output. Previously the background, density, and other metadata were
# also discarded.
Is there a way in newer versions to accomplish the same as the old -strip command? Specifically, I need the PNG:datemodify metadata to be removed.

Re: Strip PNG:datemodify metadata?

Posted: 2016-10-01T17:01:29-07:00
by fmw42
I am not an expert on PNG, but I only see date:modify and not PNG:datemodify in my PNG test file.

Using +set date:modify, you can reset it to the current date and time. But that does not remove the property.

I would suggest you look into EXIFTOOL.

But you can wait until the IM PNG developer responds. He will know more about this than I.

Re: Strip PNG:datemodify metadata?

Posted: 2016-10-01T17:23:05-07:00
by snibgo
Try "-define png:include-chunk=none". See viewtopic.php?f=1&t=29957&p=134858