I have been reading up and trying to figure out how to convert an image to Base64. However, I'm a bit puzzled as to how I "should" accomplish this.
From what I've read here in the forum, (as well as my Google searches), I am thinking that the following process "might" work??
- Use a BinarySteam to open and read the image file's data.
- Put the image file's data into a MemoryBlock.
- Pass the memory block to the EncodeBase64 method.
Would this work? Thoughts? Ideas? Suggestions?
Thank you! :-)