implemented support for load png files