Skip to content

image

image #

The image file scalar; a loaded Image is the file path.

Media methods (image.exif(), image.to_jpeg(dst)) come from StillImageFile.

Image #

Bases: StillImageFile

An image leaf; a loaded Image is its file Path plus media helpers.

Source code in capturegraph-lib/capturegraph/types/scalars/imaging/image.py
class Image(StillImageFile, name="edu.cornell.image", extensions=("heic", "dng", "jpeg", "jpg")):
    """An image leaf; a loaded ``Image`` is its file ``Path`` plus media helpers."""

    __slots__ = ()