0
I set up a real estate website, and I’m trying to make it as automated as possible to upload images of real estate centered on one-size images with a white background up to ai blz, but I got to the part of the banners that is made automatic as the real estate giveaway has lots of pictures with the white sides.
My idea was select images that don’t have that white background where the percentage of white is the lowest possible, run a php would put this percentage in the photo table and make a where
in that field.
It would have something in php that can read an image and determine which color appears the most or how much of a "white" color appears in this image?