images
¶
Image statistics. Needs the optional image extra (Pillow, imagehash).
Classes¶
Functions:¶
open_image(path)
¶
Args: path:
Returns:
is_image_truncated(image)
¶
Returns True if the path refers to a truncated image
Args: image:
Returns: True if the image is truncated
get_image_shape(image)
¶
Args: image:
Returns:
hash_image(image)
¶
Args: image:
Returns:
decode_byte_exif(exif_val)
¶
Decode byte encodings
Args: exif_val:
Returns:
extract_exif(image)
¶
Args: image:
Returns:
extract_image_information(path, exif=False, hash=False)
¶
Everything needed from one image, opened once.
image_summary(paths, exif=False, hash=False)
¶
Dimensions, truncation, duplicate hashes and EXIF data of images.