ImageEn, unit imageenio

TImageEnIO.InsertToStreamTIFF

TImageEnIO.InsertToStreamTIFF


Declaration

function InsertToStreamTIFF(Stream: TStream): integer;


Description

Insert a frame in a TIFF stream at position specified by ImageIndex. The stream position must be at the beginning.
Returns the number of images inside the file.

Note: Only Intel Byte Order is supported (TIFF_ByteOrder=ioLittleEndian). If you need to support ioBigEndian, use InsertTIFFImageFile


Example

ImageEnView1.IO.Params.ImageIndex := 1;  // prepare to insert as second image
ImageEnView1.IO.InsertToStreamTIFF(outstream);


See Also

InsertToFileTIFF
LoadFromStreamTIFF
SaveToStreamTIFF
ReplaceStreamTIFF
TIFF_ImageIndex
TIFF_ImageCount
InsertTIFFImageStream
Global Image Methods