Hey so I've made this site: http://dst.dstealth.com to help automatically generate png images from HTML div elements using html2canvas. My html2canvas is initialized with static width n height.
Now when I use the website on a desktop browser like chrome, it generates and saves the image at a size of 876 x 434 pixels which is my desired output.
BUT when I do the exact same thing on my Android chrome browser it generates an image that is over 2000 x 2000 pixels.
I thought setting a viewport meta would help but that instead made my desktop browser start saving the image in slightly larger resolutions instead so I've commented that out in my code for now.
Can anyone help me understand what is happening here and how I can ensure that the image generated will ALWAYS be 876 x 434?
According to the html2canvas documentation, you need to set the scale property to 1 so it doesn't use the devicePixelRatio: html2canvas.hertzen.com/configuration