开发者

Convert pgm image to bmp

how d开发者_如何学JAVAo I load pgm image in C# and how Im convert it to pgm file?


I found a blog entry that has the code to convert a PGM file to a BMP file for you. I had to use Google Translate to read the page, but the code listed is in English and it looks good. Here is the link (using translate):

http://translate.google.com/translate?hl=en&sl=zh-CN&u=http://kb.cnblogs.com/a/1266417/&ei=fkbmTYqRMoe4twfq_PDeCg&sa=X&oi=translate&ct=result&resnum=6&ved=0CFAQ7gEwBQ&prev=/search%3Fq%3Dc%2523%2Bconvert%2Bpgm%26hl%3Den%26prmd%3Divns

Basically, just copy and paste this code. The BitmapToBitmap() method is what you want to call.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜