To ensure the picture file was losslessly compressed, ECT should use imagemagick and pixelmatch on the input file and compressed file to look for any differences and only replace the input file with the compressed file if not a single pixel difference was detected.
To ensure the picture file was losslessly compressed, ECT should use imagemagick and pixelmatch on the input file and compressed file to look for any differences and only replace the input file with the compressed file if not a single pixel difference was detected.