Better image generator

Signed-off-by: Suki <suki@missallsunday.com>