modify deck2png.py: handle online image resource