如何将多个tif文件合并成一个多页的tif文件?强者快答!!!200分(200分)

  • 主题发起人 主题发起人 xiniu79
  • 开始时间 开始时间
X

xiniu79

Unregistered / Unconfirmed
GUEST, unregistred user!
如何将多个tif图片文件合并成为一个多页格式的tif文件,最好还能进行比较好的压缩。
请高手赐教。
 
你知道windows自带的映象程序吗?如果你不在程序中控制而只是想生成这种文件,就可以用它完成
你要的工件!如果你想在程序中完成,可以在dephi中使用ActiveX控件,这个控件就是Windows中的
映象就叫Koda图象编辑控件,可以从delphi的组件面板中Import ActiveX菜单导入。具体的使用就看
你的功夫了![:)]
 
能说的再详细些吗?还不是很明白。
 
UP给分吗
 
要不全部转为bmp?贴在一起,然后拼在一起,转为tif
 
up,不满意
 
在windows的帮助目录下有个帮助文件
C:/WINDOWS/HELP/Imgocxd.hlp
其中有详细的介绍图象控件的方法、属性、事件
 
Imgocxd.hlp
好像没有提到关于tif合并的问题的,难道从扫描仪得到的图片可以是合并在一个文件中的
图片(tif格式)吗?
 
怎么会不没有呢,这下面就是insert 方法的描述:
Insert Method

Inserts one or more user-specified pages into the current image file.

Applies To

Image Admin control

Syntax

object.Insert Source, SourcePage, DestinationPage, NumPages [,CompressionType, CompressionInfo]

Arguments

Parameter Data Type Description
Source String Specifies the image file that contains the page(s) to be inserted.
SourcePage Long Specifies which page in the source image file will be inserted.
DestinationPage Long Specifies the page in the current image file the selected pages will be inserted before.
NumPages Long Specifies the number of pages from the source image file to insert into the current image file.
CompressionType Integer (Optional) Specifies the compression type to apply to the inserted pages. If a type is not specified, the compression type of the source image is used.
CompressionInfo Long (Optional) Specifies which compression options to apply to the inserted pages. If options are not specified, the compression options of the source image are used.
Remarks

The current image is specified by the Image property.
The current image must be in TIFF or AWD format, because they support multiple pages. If the image pages added are of another type, they will be converted to the file type used by the current image.
You can insert a single BMP page into a new image.
If the CompressionType and CompressionInfo values specified are not compatible with a source page抯 page type, the source file抯 compression type and compression information is used in place of the arguments.

If JPEG compression is specified, and the compression argument is 0 (zero), a default JPEG value is used. The default value is 4096 (low compression, high quality).
 
多人接受答案了。
 
后退
顶部