Module image

Module image 

Source
Expand description

Image content extractor.

Extracts image files and prepares them for embedding. Optionally generates captions using a vision model.

Structsยง

ImageExtractor
Extractor for image files.

Functionsยง

decode_image_metadata ๐Ÿ”’
Decode image to get dimensions and format.
mime_type_from_extension ๐Ÿ”’
Get MIME type from file extension.