Skip to content
/ BadPics Public

A utility library for detecting damaged or corrupted image files such as jpeg, png, gif and bmp.

Notifications You must be signed in to change notification settings

vclyde/BadPics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BadPics

A utility library for scanning damaged image file.

For Java version 11 and up

Usage:

ImageScanner.Result result = ImageScanner.scan(Files.newInputStream(Path.of("image.jpg")), ImageFormat.JPEG); 
System.out.println(result.isCorrupt());
System.out.println(result); // Show more details

or

ImageScanner.Result result = ImageScanner.scan(Path.of("image.jpg")); 
System.out.println(result.isCorrupt());
System.out.println(result); // Show more details

About

A utility library for detecting damaged or corrupted image files such as jpeg, png, gif and bmp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages