build: Add script to generate extra images

Change-Id: I53081c7a2b4f18bc8c8a27b04d311a6b078b2022
(cherry picked from commit a62735900fba03d777cdd45fd1eee138b34be778)