Skip to content
YosoiDocs

ImageCrop

yosoi.surface.ImageCrop

class ImageCrop(ImmutableModel):

Actual PNG evidence cropped from an indexed immutable image region.

Source: python/yosoi/surface.py:642

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

reference: NativeReference = Field(description='Exact selected image evidence.')
rect: PixelRect = Field(description='Bounds in original decoded image pixels.')
png: bytes = Field(description='Encoded PNG bytes, independent of text budgets.')