Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png format dataUrl() not working on Internet Explorer 11 #99

Open
kevhui opened this issue Jan 9, 2017 · 2 comments
Open

png format dataUrl() not working on Internet Explorer 11 #99

kevhui opened this issue Jan 9, 2017 · 2 comments

Comments

@kevhui
Copy link

kevhui commented Jan 9, 2017

I'm having issues using the the dataUrl to extract a base64 png on Internet Explorer 11

// svg to test
var svg = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="100" version="1.1"><rect width="200" height="100" stroke="black" stroke-width="6" fill="green"/></svg>';

// Outputs data:image/svg+xml;base64,PHN2Z......
Pablo(svg).dataUrl('svg', function(uri){console.log(uri)}); //returns the base64 of xml

// Outputs data:,
Pablo(svg).dataUrl('png', function(uri){console.log(uri)});

// Returns true
Pablo.support.image.png(function(support){console.log(support);})
```;
@premasagar
Copy link
Owner

Thanks for the report.

@0xAnon101
Copy link

Any progress on this one ?

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

No branches or pull requests

3 participants