sitcom_simulator.image.integrations.pillow

Functions

generate_image([width, height])

Generates a random solid-color image and returns the path to the image file.

sitcom_simulator.image.integrations.pillow.generate_image(width=720, height=1280)

Generates a random solid-color image and returns the path to the image file. Intended for use in debugging and testing.

Parameters:
  • width (int) – The width of the image to generate

  • height (int) – The height of the image to generate