exupero / saveSvgAsPng

Save SVGs as PNGs from the browser.
MIT License
1.09k stars 362 forks source link

svgAsPngUri working on browser but not android #248

Closed tnageleweb closed 4 years ago

tnageleweb commented 4 years ago

Hi, I'm using svgAsPngUri, it works fine in browser. But not in Android (the result png image shows as preview small image fine, but when opened it shows a complete black).

I tried to inspect the difference:

svgAsPngUri(svg).then(function(uri) { console.log(uri);// diefferent result for the same image }) // skipped saving file part as it is working fine

The resultant uri is not the same in the desktop browser than Android App (for the same tested SVG image), any idea why?

tnageleweb commented 4 years ago

The problem from android image viewer. Thanks