dumpimages.py works