Skip to main content
class ImageBufferContentItem(TypedDict)
Image buffer content item for content-based extraction.

Parameters

type
str
The type of the content item, which is always “image-buffer”.
image_type
str
The image format (e.g., “png”, “jpeg”, “gif”, “webp”).
data
bytes
The buffer containing the image data.