Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

How to convert the returned stringified object into base64? #114

Open
ayako02 opened this issue Mar 10, 2021 · 2 comments
Open

How to convert the returned stringified object into base64? #114

ayako02 opened this issue Mar 10, 2021 · 2 comments

Comments

@ayako02
Copy link

ayako02 commented Mar 10, 2021

Is there anyway to convert the returned canvas's stringified object into base64?
i couldn't add an ID into the canvas element itself, because it doesnt accept id as a prop.
i tried to use toDataURL() function to convert it, but received an error said toDataURL is not a function.
Does anyone has any idea on this? because i wanna upload the canvas as an image into AWS S3 bucket... Thanks!

@caseymockbee97
Copy link

caseymockbee97 commented Mar 27, 2021

#43 (comment)

This might help out if you're still working on this.

@fsolarv22
Copy link

#43 (comment)

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

3 participants