Compare two png and save the second if different
Posted: 2018-03-27T06:27:10-07:00
Hi all,
I have discovered ImageMagick today, and used it to delete metadata for a large number of png tiles, and save a lot of space.
I think this tool could help me for another issue I have to deal with.
I create the tiles every day for example. Instead of update mobile devices with all the new tiles, I would like to send just these ones which have really been modified. I cannot use the date of creation of course. For the moment i create a md5 and compare it, but maybe ImageMagick could do it better than me.
I have seen COMPARE but i do not want to create a third png.
Any ideas?
Thanks a lot.
Clément
I have discovered ImageMagick today, and used it to delete metadata for a large number of png tiles, and save a lot of space.
I think this tool could help me for another issue I have to deal with.
I create the tiles every day for example. Instead of update mobile devices with all the new tiles, I would like to send just these ones which have really been modified. I cannot use the date of creation of course. For the moment i create a md5 and compare it, but maybe ImageMagick could do it better than me.
I have seen COMPARE but i do not want to create a third png.
Any ideas?
Thanks a lot.
Clément