technopagan / adept-jpg-compressor

A Bash script to automate adaptive JPEG compression using common CLI tools
Other
377 stars 29 forks source link

Test that JPEG validation is actually working #15

Open technopagan opened 11 years ago

technopagan commented 11 years ago

While using IM's identify to check on the validity of an incoming JPEG image has the benefit of not intrudicing yet another tool & thus dependency, it is prone to return incorrect results: if a JPEG image is only partially transferred but its headers are intact, IM identify will vaildate it as a valid file.

Let's do extensive tests to make sure that no invalid files can be processed through Adept. In case IM's identify should not match our expectations, we might switch to a tool such as jpeginfo.

See: