public void CompactFile(
Stream srcStream,
Stream destStream,
int pages
)
Public Overloads Sub CompactFile( _
ByVal srcStream As Stream, _
ByVal destStream As Stream, _
ByVal pages As Integer _
)
- (BOOL)compactStream:(LTLeadStream *)sourceStream
destinationStream:(LTLeadStream *)destinationStream
pages:(NSUInteger)pages
error:(NSError **)error
public:
void CompactFile(
Stream^ srcStream,
Stream^ destStream,
int pages
)
srcStream
A source Stream containing the data for the file being compacted. All the pages will be read from this stream.
destStream
A destination Stream that will contain the written data.
pages
Value that represents the number of pages to copy. Use 0 to copy all the pages. If pages is > 0, only pages will be copied to destStream.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document