I got bored again.
...watermark annoyed me. And to be honest I've been thinking about doing something with the watermark for .. literally years.
I've redone the watermark code today to
a) add a bar to the bottom of the image
b) choose randomly if the watermark will go left or right
c) pick the bottom pixel above where the site logo will go
d) colour the bar it added based on that colour
e) watermark it!
I've uploaded a sample of images to demonstrate what it's going to do. Ignore the car one (below) because it placed the watermark half over the image and half over the bar; which admittedly is still better than the above picture.
Thoughts?
It's a real shame that I don't have any of the original images anywhere that I could re-apply the watermark code to them, because at the moment I really prefer this. It doesn't fuck up the image if it gets it wrong
Edit: Oh yeah, my original idea was to use a histogram of the image and choose the "average" colour in use in the picture, and make the bar that colour. But even though I liked the idea I think I prefer the effect of choosing the closest pixel to where the watermark will go and making it match that. On the whole I think it'll look less intrusive (which was my main concern with adding a bar instead of inserting the watermark within the image boundaries like it's been for 20 years).
Edited 1 time(s). Last edit at 28/06/2024 01:31PM by pulse.