Added support for high DPI data png and made pixel ratio configurable