摘要: 图片保存到数据库和从数据库读取图片并显示(C#) source: http://www.cnblogs.com/tuyile006/archive/2007/01/08/614718.html 图片保存到数据库的方法: public void imgToDB(string sql) { //参数sql中要求保存的imge变量名称为@images ... 阅读全文
posted @ 2008-08-12 23:44 淮北橘子 阅读(695) 评论(0) 推荐(0) 编辑
摘要: source:http://mennan.kagitkalem.com/ReadingWritingPGMPortableGraphicsMediaImageFilesWithCCSharp.aspx 备注:程序可能有点小问题,代码可以从下面下载。 I demonstrate a simple example in order to show how to read-write PGM fil... 阅读全文
posted @ 2008-08-12 23:37 淮北橘子 阅读(3183) 评论(0) 推荐(0) 编辑
摘要: source:http://mennan.kagitkalem.com/DataCompressionRunningRLEAlgorithmOnBMPAndPGMImageFilesUsingC.aspx Aşağıda, Data Compression için hazırlamış olduğum çalışmayı inceleyebilirsiniz. Bu çalı... 阅读全文
posted @ 2008-08-12 23:33 淮北橘子 阅读(1001) 评论(0) 推荐(0) 编辑
摘要: Source:http://www.cnblogs.com/Dah/archive/2007/08/07/846176.html 以下代码可以用,由于C#中可以显示JPEG,BMP等格式的图像,但是不能显示PGM的图像,所以要在c# winform窗体的PictureBox中显示PGM格式的图片会报错的。下面时Adrian的格式转换代码。可以正常显示,也可以从数据库中读取PGM二进制流来... 阅读全文
posted @ 2008-08-12 23:22 淮北橘子 阅读(1900) 评论(0) 推荐(0) 编辑
摘要: PGM格式的图像比较少见,一般应用在特定的领域,网上的资料也比较少,现收集了一些资料....... source:http://netpbm.sourceforge.net/doc/pgm.html pgm NAME pgm - Netpbm grayscale image format DESCRIPTION This program is part of Netpbm. The ... 阅读全文
posted @ 2008-08-12 23:10 淮北橘子 阅读(3433) 评论(0) 推荐(0) 编辑
摘要: (转载)今天我们介绍Linux系统下挂载Windows分区的方法。 1. 手工挂载 在Linux中也可以读取Windows分区,包括fat32格式的和ntfs格式的。首先你得知道Linux下对硬盘分区的称呼。比如Windows下的C盘通常是hda1,D盘是hda5,E盘是hda6,等等。详细情形请看相关文档。 要挂载Windows分区,首先得确定你所用的Linux系统的lo... 阅读全文
posted @ 2008-08-12 21:54 淮北橘子 阅读(335) 评论(0) 推荐(0) 编辑