
The hotlinked error images are now mathemagically coloured with random, complimenting or high contrasting tints.
I was busy geeking around with the graphics processing powers of PHP…when I became suddenly inspired and discovered a solution to a very difficult colour processing problem I had been having!
One of the new features I’ve been working on for FAP2 is the ability to search by colour. Currently, artists can tag colours themselves, but I would like to automate it so that the server calculates the colours upon upload and adds the correct tags for you.
Writing a program that evaluates colours quickly has been…difficult. But! I think I discovered a faster method tonight:

So, like, it creates a list of the 9 most frequently occurring colours, then compares to a limited list of colour tags (eg, black, white, orange, red, pink, purple, blue, etc…). Awesome.
I need to release the new fap, like, now. So I can play with these features on a larger base of art…grumble…