get_image_size
Returns image width and height.
Signature
get_image_size
Returns image width and height.Signature
get_image_size(image: Image) -> tuple[int, int]Parameters
| Name | Type | Default | Description |
|---|---|---|---|
image | Image | None | image argument for this API call. |
Returns
tuple[int, int]Example
from conjure import *
init_window(360, 640, "Images")
sprite = load_image("player.png")
draw_image(sprite, 120, 220)See also
load_imageunload_imagedraw_image
Return to the images overview or continue with the quickstart.