Skip to content

ReadImageFileInfo

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  4143867569["output_types.ReadImageFileInfo"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 4143867569
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Nested file info for image reads.

Source code in src/clawd_code_sdk/models/output_types.py
class ReadImageFileInfo(TypedDict):
    """Nested file info for image reads."""

    base64: str
    """Base64-encoded image data."""
    type: MimeType
    """The MIME type of the image."""
    originalSize: int
    """Original file size in bytes."""
    dimensions: NotRequired[ReadImageDimensions]

base64 instance-attribute

base64: str

Base64-encoded image data.

originalSize instance-attribute

originalSize: int

Original file size in bytes.

type instance-attribute

type: MimeType

The MIME type of the image.

:fa-brands-github: Show source on GitHub