Add support for px2pos method. Convert top/let pixel value to coordinate value