Untitled
Anonymous
plain_text
10/26/2024 11:36 PM
348 B
17
Indexable
from PIL import Image # Load the image image_path = '/mnt/data/Screenshot (314).png' image = Image.open(image_path) # Get the color of the first pixel, assuming the entire image is a solid color dominant_color = image.getpixel((0, 0)) dominant_color
Editor is loading...
Leave a Comment