File size: 413 Bytes
79eeb88 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from PIL import Image
def get_blank_image(
width: int,
height: int,
) -> Image.Image:
"""
Create a blank image with the specified width and height.
Args:
width (int): The width of the image.
height (int): The height of the image.
Returns:
Image.Image: A blank image with the specified dimensions.
"""
return Image.new("RGB", (width, height), (0, 0, 0))
|