使用文件分割技术
我以前作过一个程序 现在不再手边
说说思路吧:
分割:首先将文件读入一个文件流Stream
然后将它写入指定大小的几个文件流即可组合:
把几个文件流 写入一个流就搞定你试试吧 很定能行!
我以前作过一个程序 现在不再手边
说说思路吧:
分割:首先将文件读入一个文件流Stream
然后将它写入指定大小的几个文件流即可组合:
把几个文件流 写入一个流就搞定你试试吧 很定能行!
解决方案 »
- 大哥大姐们,帮忙看下:哪个控件可实际下图,万分感谢!
- C# datetime 初始化 为null 如何处理
- http://post.baidu.com/f?kz=167769025 这种网址是怎么弄的?
- 求Beginning C# 源码
- winform中通过ColorDialog得到的颜色值如何转换为网页上使用的颜色值?
- 为何这样设置datagrid仅宽度有效
- 仿MS系统中画板程序,铅笔功能,图画不能保存。
- winform ICON 的设置
- 已知一个Type的BaseType是System.ValueType,请问这个Type一定是数值类型么?
- 如何通过编程的方式将已有的.cs文件添加到项目中?
- 一个security 问题,当读取xml file的时候。
- 一个小问题!
objImage = objImage.FromFile(strFilePath)
Dim objGuid As Guid = (objImage.FrameDimensionsList(0))
Dim objDimension As System.Drawing.Imaging.FrameDimension = New System.Drawing.Imaging.FrameDimension(objGuid) 'Gets the total number of frames in the .tiff file
totFrame = objImage.GetFrameCount(objDimension) 'Adds number of frames to the combo box for displaying purposes.
Dim i As Integer
For i = 0 To totFrame - 1
cboFrameNo.Items.Add(i)
Next
cboFrameNo.Items.IndexOf(1) 'Sets the temporary folder to "C:\temp\"
strPath = "c:\temp\" 'Saves every frame as a seperate file.
Dim z As Integer
z = 0
curF = 0
For z = 0 To (totFrame - 1)
objImage.SelectActiveFrame(objDimension, curF)
objImage.Save(strPath & curF & ".tif", Imaging.ImageFormat.Jpeg)
curF = curF + 1
Next