Leadtools.Codecs Namespace > RasterCodecs Class > CompactFile Method : CompactFile(Stream,Stream,Int32) Method |
'Declaration Public Overloads Sub CompactFile( _ ByVal srcStream As Stream, _ ByVal destStream As Stream, _ ByVal pages As Integer _ )
'Usage Dim instance As RasterCodecs Dim srcStream As Stream Dim destStream As Stream Dim pages As Integer instance.CompactFile(srcStream, destStream, pages)
function Leadtools.Codecs.RasterCodecs.CompactFile(Stream,Stream,Int32)( srcStream , destStream , pages )
This method can also be used to copy or extract one or more pages from a TIFF file and copy them without recompression to another TIFF file. Whenever you save an image containing a region as a TIFF file format, the region is also saved. Note, however, that the ability to save a region inside a TIFF file must be unlocked. This requires a Document Imaging or Medical Imaging toolkit.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2