I am using Beyond Compare to work with my homepage files (SFTP upload/download/delete/filter...). I did recompress all PNG image files using "ImageMagick" - many files were originally uploaded exporting from Photoshop, which did not such a job in compression.
Now I want to upload the result, but only those files that have been compresses with a better ratio. Each compression filter and strategy has its pro's and con's, so many images have been reduced in size, but some have been increased.
So I hope there is a way to exclude all files that are bigger on the right side.
If that is not possible out of the box, I will have to write a little custom comparer.
Just for reference, if you want also to re-compress all PNG files recursive from the command prompt inside the root folder:
FOR /R %f IN (*.png) DO magick mogrify "%f" -depth 24 -define png:compression-filter=2 -define png:compression-level=9 -define png:compression-strategy=2
Now I want to upload the result, but only those files that have been compresses with a better ratio. Each compression filter and strategy has its pro's and con's, so many images have been reduced in size, but some have been increased.
So I hope there is a way to exclude all files that are bigger on the right side.
If that is not possible out of the box, I will have to write a little custom comparer.
Just for reference, if you want also to re-compress all PNG files recursive from the command prompt inside the root folder:
FOR /R %f IN (*.png) DO magick mogrify "%f" -depth 24 -define png:compression-filter=2 -define png:compression-level=9 -define png:compression-strategy=2
Comment