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.
Because ImageEn can only write Little-endian TIFF the input file cannot be Big-endian (see TIFF_ByteOrder).

Returns the number of images inside the file.


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