Added direct libpng support.