日期:2014-05-16  浏览次数:20820 次

一个问题实在不知道怎么取标题,大家见谅
下载别人的C#源码,发现他们的图片是这样的:
  <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="start_tsbtn.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANMSURBVDhPbZNdTFN3GMb/7MJkVjDxWjPHLrjhhgRudrPE
        qPPGZJlZwnS6qZuJcRrUhcQl04uFxBFDhwToepTqGgijA/mo/cJYWrAf5wCnH7CWck4PYC1VEcYopz3t
        4Tw7hxpNjL/kufs/b/7v+z4veZd9+yprT529YjR327mZmFAUFpeLNM1yv7e2GWtqampfP3svumP1l0yW
        QZ8SS6QwO5eCf5qHn+WRSGawKUqQpIJioCiT9rZkeYvufMNNn/0RC9/kPO4M07j7KIpORoA5vISR4Dzu
        WxkEQjyKRRkej9eneUpWlfqTDaa+QT88dAItthC+DC5jT3AFH9NrOMj+i4t8Fg8yImwMD5snul2ko8Og
        /YSQysqqWn2HVWFCSbQ6I/jEIqDsYRp7g2s4Et3AtWQOhrQEo6rOZyJGaA50WFBbyinV1epMznzfSPUO
        PIGbTeLA3RiIkceuoTTiuS1YXhbQlSnAtS5jTFXz0zw6U1ncU9sRcxKampopckvfzbknZjHILuDDX+Mg
        XQIq7BmsyQo0VB+YzS04VmU0pSQcim+gbzwGfvEFnKM+jvxp8cpT6pfMdBrkxhxIO4fy/mdYKWxhSykV
        0XhaUNCwlMdHU+toC/BgIgKY6fkiGRgJyGx0AY7ZVyCXoyA/TaLidhzCRh6pdRHPs3lkpSKCWRmfxbLY
        4czgt7E5BNWZqVsrkm6Lk3vsncGrrISK76ZATo+jvJGBsJ5H+j8R4bU8TjCrqPCu4APHc+zqW0C7I4Tw
        P0toaevlyM1mPWX+y4uCupordwSQozbozrgReSniF88ydlMJdbDzIAZVt2bwuTEEs5OFn0ngq+M/UkSL
        50PXlBJVK27mZHx6mUXZ4QHsPD6Ksm/cIN96QH6YUDWO/T/TaHWEEZjmYDA5FS3221nQQtHz9wTSmVWI
        eRmNf/DY/cVjkENWkCNW7Px6HIdbZtDliW/33tv/BMfqL5SC9Bqd1T7q7+mfQGR2cbsdUZJBJzbgjKwi
        kHyBMLcMLWz3esZw4WqzX/OUrG/RdRgMJpc7pJj7vHC5w5hUD0mTyx3B/V4P2ow25ey5xvce0xvq6upq
        9frb1PDwGGcfZQtD1kCB6hriLl29TlVVVb9zzoT8D4T8hNlxtaktAAAAAElFTkSuQmCC
</value>
  </data>

小弟见识浅薄,请教各位,这是什么东西,怎么生成这种玩意,或者告诉我,要去百度什么关键字
------解决方案--------------------
key word:base64

mimetype="application/x-microsoft.net.object.bytearray.base64"

------解决方案--------------------
BitConvert
byte[]
------解决方案--------------------

//测试了下,图片是个蓝色的小播放按钮图标
string base64 = @"iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAANMSURBVDhPbZNdTFN3GMb/7MJkVjDxWjPHLrjhhgRudrPEqPPGZJlZwnS6qZuJcRrUhcQl04uFxBFDhwToepTqGgijA/mo/cJYWrAf5wCnH7CWck4PYC1VEcYopz3t4Tw7hxpNjL/kufs/b/7v+z4veZd9+yprT529YjR327mZmFAUFpeLNM1yv7e2GWtqampfP3svumP1l0yWQZ8SS6QwO5eCf5qHn+WRSGawKUqQpIJioCiT9rZkeYvufMNNn/0RC9/kPO4M07j7KIpORoA5vISR4DzuWxkEQjyKRRkej9eneUpWlfqTDaa+QT88dAItthC+DC5jT3AFH9NrOMj+i4t8Fg8yImwMD5snul2ko8Og/YSQysqqWn2HVWFCSbQ6I/jEIqDsYRp7g2s4Et3AtWQOhrQEo6rOZyJGaA50WFBbyinV1epMznzfSPUOPIGbTeLA3RiIkceuoTTiuS1YXhbQlSnAtS5jTFXz0zw6U1ncU9sRcxKampopckvfzbknZjHILuDDX+MgXQIq7BmsyQo0VB+YzS04VmU0pSQcim+gbzwGfvEFnKM+jvxp8cpT6pfMdBrkxhxIO4fy/mdYKWxhSykV0XhaUNCwlMdHU+toC/BgIgKY6fkiGRgJyGx0AY7ZVyCXoyA/TaLidhzCRh6pdRHPs3lkpSKCWRmfxbLY4czgt7E5