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.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
File details
Details for the file python-image-complete-0.0.4.tar.gz
.
File metadata
- Download URL: python-image-complete-0.0.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1da0afb0e3b3a5139429fdd57bff4872a1948fc2d044243b8230efd9a43b308 |
|
MD5 | d3c89bd096677c95e17ca16d18ad461e |
|
BLAKE2b-256 | 3bd50031279b3a12480367d9ba57b8e6fd040e42e4e7e5e64f0afb3e0ae9174c |