imagecheck

package module
v0.0.0-...-8a14b01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2020 License: MIT Imports: 10 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(path string) error

Types

This section is empty.

Directories

Path Synopsis
cmd
image-check command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL