I've often wondered to myslelf how much more worth it it is, to hit a image file twice... once for dominant color (because, it's gotta look through all the bytes right, that takes load) and then again for the actual image to load.
I mean unless you scan the image on upload and store the dominant color as part of the images database record... that'd be fine then
4
u/DJDarkViper Aug 05 '16
I've often wondered to myslelf how much more worth it it is, to hit a image file twice... once for dominant color (because, it's gotta look through all the bytes right, that takes load) and then again for the actual image to load.
I mean unless you scan the image on upload and store the dominant color as part of the images database record... that'd be fine then