Would it be possible to detect the compression level of a JPEG image using PHP, without having the "original" (uncompressed) version of the file?
If yes, how to do it?
Would it be possible to detect the compression level of a JPEG image using PHP, without having the "original" (uncompressed) version of the file?
If yes, how to do it?
Yes PHP Imagick can do this for you.
http://www.php.net/manual/en/imagick.getcompression.php
http://www.php.net/manual/en/imagick.getcompressionquality.php