Python, Automation, Data Science, Artificial Intelligence, Llm.
containing the images image_dir = '/path/to/image/directory' # Desired size for resized images new_size = (800, 600) # Watermark text and font watermark_text = 'Your Watermark' font = ImageFont.truetype('arial.ttf', 36) # Iterate over the images in the directory for filename in