Scale the map canvas layer by window.devicePixelRatio
Scale the shape image by window.devicePixelRatio
Add size property to ol.Image
snapshot