- (BOOL)compactStream:(LTLeadStream *)sourceStream
A source Stream containing the data for the file being compacted. All the pages will be read from this stream.
A destination Stream that will contain the written data.
This method can also be used to copy or extract one or more pages from a TIFF/BigTIFF file and copy them without recompression to another TIFF/BigTIFF file.
This method can also be used to convert a TIFF file to BigTIFF or vice versa. The destination file will be TIFF or BigTIFF, depending on the value of BigTiff.
For an an example, refer to CompactFile.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries