Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

svgAsPngUri working on browser but not android #248

Closed
tnageleweb opened this issue May 15, 2020 · 1 comment
Closed

svgAsPngUri working on browser but not android #248

tnageleweb opened this issue May 15, 2020 · 1 comment

Comments

@tnageleweb
Copy link

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
Copy link
Author

The problem from android image viewer. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant