Added support for png images.