verifyimg is a simple cli tool for verifying the validity of your image file.
If you already have Rust environment on your machine, it's easiest to use cargo
.
$ cargo install verifyimg
Or go to release page and download the prebuilt binary which is suitable for your platform.
$ vefifyimg -f <(jpeg|png|gif)> <FILE>
verifyimg currently supports JPEG, GIF, and PNG image verification.