It looks like you are base64 encoding the png before turning it into a dataUri 
- that's what's breaking it. Check the code I put above, you don't need to 
encode it first

Reply via email to