c# - Convert Image to Bytes and save in Xml -
i need convert byte [] of image format can saved in xml. tried convert string not worked. xml file after 5 images saved size of 50mb! need convert simpler format xml file can not heavy.
consider using base64 format - lose efficiency data encapsulated. example
<image name="myphoto.jpg">wfuiglzigrpc3rpbmd1axnozwqsig5vdcbvbm</image>
you can convert base64 using convert.tobase64
Comments
Post a Comment