Python3 library for checking whether images are complete.
Project description
The python-iamge-complete package allows you to check for various image types to check whether the image is complete or not. For doing this, it looks for EOF (end of file) markers in the files or compares the stored file length against the actual file length. Can also operate on bytes or BytesIO objects.
Supported file formats:
BMP (extension: .bmp)
GIF (extension: .gif)
JPG (extension: .jpg, .jpeg)
PNG (extension: .png)
WebP (extension: .webp)
Changelog
0.0.5 (2023-04-17)
added support for lenient mode via strict and check_size parameters
0.0.4 (2023-03-30)
added support for determining completeness of bytes or BytesIO objects rather than just file names
added is_XYZ methods that determine whether a file/bytes/BytesIO represents file type XYZ
0.0.3 (2023-03-28)
added support for: WebP
0.0.2 (2020-01-13)
added support for: BMP
0.0.1 (2019-04-17)
initial release
support for: GIF, JPG, PNG
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for python-image-complete-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18b726b2613b0d871ec46c6e4f376149a7a6b51cc09b833d5ecd79f9cc433dcc |
|
MD5 | 59b6513cf9da3892e12a45787bde0dbb |
|
BLAKE2b-256 | 7749001b5e7aee32e04fe11caf414e717f7a0000e9285c732c95cb71b7102a76 |