下面是位图转化成内存流的ConvertBitmap2Stream()方法代码。
|
| 1. | < !--直接把对应的参数传入!--> |
| 2. | Stream str=ConvertBitmap2Stream(bitmap,format); |

调用示例