Update parallax.py

Added some support for .png images