Skip to content

A small tool to efficiently check whether an image file is not truncated

License

Notifications You must be signed in to change notification settings

delthas/image-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-check builds.sr.ht status

A small tool to efficiently check whether an image file is not truncated.

This tool assumes that the file is not corrupted, only truncated, i.e. that all bytes of the file are valid.

Usage: image-check image.jpg

Exits with 0 if the file is not truncated, otherwise exits with a code > 0 and an error message on stderr.

Binaries

OS URL
Linux x64 https://delthas.fr/image-check/linux/image-check
Mac OS X x64 https://delthas.fr/image-check/mac/image-check
Windows x64 https://delthas.fr/image-check/windows/image-check.exe

You can also build it with: go get github.com/delthas/image-check/cmd/image-check

Image file type support

Type Supported?
JPEG
PNG
GIF
SWF

About

A small tool to efficiently check whether an image file is not truncated

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages