开发者

Building Bitmaps From Characters

开发者 https://www.devze.com 2022-12-24 07:48 出处:网络
Is there a way I can bu开发者_运维技巧ild a bitmap strictly from RGB values for each pixel? I\'m trying to build a bitmap from a string of characters.You can use Color.FromArgb to construct the pixel

Is there a way I can bu开发者_运维技巧ild a bitmap strictly from RGB values for each pixel? I'm trying to build a bitmap from a string of characters.


You can use Color.FromArgb to construct the pixel color from your text file, and Bitmap.SetPixel to set the pixel color for that pixel position in the bitmap.

0

精彩评论

暂无评论...
验证码 换一张
取 消