Class Image (1.33.0)

Image(image_bytes: bytes)

Image.

Methods

Image

Image(image_bytes: bytes)

Creates an Image object.

load_from_file

load_from_file(location: str) -> vertexai.vision_models.Image

Loads image from file.

save

save(location: str)

Saves image to a file.

show

show()

Shows the image.

This method only works when in a notebook environment.