Hello guys, I would like to provide a link for my base64 encoded image, instead of writing it all since its too big, plz help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello guys, I would like to provide a link for my base64 encoded image, instead of writing it all since its too big, plz help.

https://code.sololearn.com/W8TNCDWpbqSD/?ref=app

10th Sep 2021, 4:05 AM
CodeSmith
CodeSmith - avatar
6 Answers
+ 2
First, you need to create a text file in place of the docx/word file. Second, you will need to edit the URL of the text file to get just the raw text. https://code.sololearn.com/WW6t4B73kJVz/# After that, you can use fetch (for example) to get the Base64 encoded string. https://code.sololearn.com/WLObogTjg0y7
10th Sep 2021, 10:04 AM
ODLNT
ODLNT - avatar
+ 1
https://code.sololearn.com/WTfRBq6lwKDT/?ref=app
10th Sep 2021, 4:45 AM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Martin Taylor I want to use getImageData() method, if i use image src it returns tainted by cross origin data error.
10th Sep 2021, 7:34 PM
CodeSmith
CodeSmith - avatar
11th Sep 2021, 10:58 AM
CodeSmith
CodeSmith - avatar
0
will u share the link of the image
10th Sep 2021, 5:07 AM
Pariket Thakur
Pariket Thakur - avatar