mirror of
https://github.com/moodle/moodle.git
synced 2025-02-22 19:06:51 +01:00
When an image is generated using AI a watermark is added. This patch examines the area of the image where the water mark is to be added and changes the font color of the mark to either black or white, so it can be read against the background color.