Implementing PNG loader.