Declaration
procedure InsertTIFFImageFile(const SourceFileName, InsertingFileName, OutFileName: WideString; idx: Integer);
Description
Inserts the file
InsertingFileName into
SourceFileName, saving the result to
OutFileName.
Idx is the page where to insert the file.
As both source and destination images are not de-compressed the operation is very quick.
Note: Both TIFFs must have the same byte order. You can check it reading image parameters and checking
TIFF_ByteOrder property.
Example
// this inserts pagetoinsert.tif in old.tif as first page and save all to new.tif
InsertingTIFFImageFile( 'old.tif' , 'pagetoinsert.tif', 'new.tif', 0 );
See Also
-
InsertTIFFImageStream-
EnumTIFFIm (Image Count)
-
DeleteTIFFImGroup-
DeleteTIFFIm-
ExtractTIFFImageFile-
Global Image Methods-
LoadFromFileTIFF-
InsertToFileTIFF-
ReplaceFileTIFF-
SaveToFileTIFF