This commit takes the device pixel ratio into account when calculating the matrix used to apply the image to the output canvas.
This commit takes the device pixel ratio into account when calculating the matrix used to apply the image to the output canvas.