Open fire-eggs opened 1 year ago
The following script is used to generate the embedded bytes for the water mark images. Ideally this should become some sort of build step?
import base64
import io
from PIL import Image
img = Image.open("errorMarker.png")
output = io.BytesIO()
img.save(output, format="png")
image_as_string = base64.b64encode(output.getvalue())
print(image_as_string)
Add a watermark to thumbnails as per these states: