How to export handwritten/drawn text as image (Requesting working code example Javascript)
A
Azhan261
started a topic
about 2 years ago
Hello, I am very new to iinkjs and I wish to implement it into my React Javascript project. I have been able to get iink js installed and working through the help of code examples but my main purpose is to have my handwritten text somehow convert its self to an image which I can send it over to a database, like a screenshot of what I wrote with my hand and send it to a database or perhaps download it onto my computer. Is there a way I can accomplish this? Can anyone please provide me with a code example for this as I am very new and having a hard time understanding the configuration and functions of iinkjs
Azhan261
Hello, I am very new to iinkjs and I wish to implement it into my React Javascript project. I have been able to get iink js installed and working through the help of code examples but my main purpose is to have my handwritten text somehow convert its self to an image which I can send it over to a database, like a screenshot of what I wrote with my hand and send it to a database or perhaps download it onto my computer. Is there a way I can accomplish this? Can anyone please provide me with a code example for this as I am very new and having a hard time understanding the configuration and functions of iinkjs
Dear Azhan,
currently, the easier is that you refer to our file_export sample available on our github: https://github.com/MyScript/iinkJS/blob/master/examples/v4/file_export.html
In the latter, you can export as jpeg or PNG before convert, and then have an image of your ink which you can store into a DB.
Best regards,
Olivier
Olivier @MyScript
Dear Azhan,
currently, the easier is that you refer to our file_export sample available on our github: https://github.com/MyScript/iinkJS/blob/master/examples/v4/file_export.html
In the latter, you can export as jpeg or PNG before convert, and then have an image of your ink which you can store into a DB.
Best regards,
Olivier
1 person likes this