add 'getPngInfo' function to get png file pixel data. width. height etc..