Skip to content

Issue display images using DrawImage when passing in a base64 string #1542

Closed Answered by CostaEG
CostaEG asked this question in Q&A
Discussion options

You must be logged in to vote

Found a solution myself. Turns out the backend data that was coming to me was in JPG format, I had to check the base64 string to verify whether it is JPG or PNG and run the proper embed function based on that. Hope this helps someone one day.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CostaEG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant