TL;DR<p>Flipkart has automated the palette image generation using image processing, bayesian
probability, existing product information and some assumptions that seemed to
work. This will save massive amount of man-hours, reduce image sizes, ensure
consistent palette images across website and enable faster product launches.