Compacts TIFF/BigTIFF streams with default options.
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 *)sourceStreamdestinationStream:(LTLeadStream *)destinationStreampages:(NSUInteger)pageserror:(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.
|
Products |
Support |
Feedback: CompactFile(Stream,Stream,Int32) Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.