I have a BitmapImage and I need to store the content of this image (as byte array for example) in a text file.
In particular, I have to store this image in the attribute of an XML node, and then I have to read this node to create a new BitmapImage
.
What is the fastest way to do this?