Py5Image.height#

The height of the image in units of pixels.

Examples#

example picture for height
def setup():
    tiles = py5.load_image("tiles.jpg")
    py5.image(tiles, 20, 10)
    py5.rect(55, 10, tiles.width, tiles.height)

Description#

The height of the image in units of pixels.

Underlying Processing field: PImage.height

Updated on September 01, 2022 16:36:02pm UTC