Accusoft.TwainPro9.Net
SaveSourceCompressedImageToFile Method




A string representation of a legal file name (path) to which the file will be saved.
Saves the Source-compressed image to file, the scanner (source) has directly compressed the image via the hardware.
Syntax
'Declaration
 
Public Sub SaveSourceCompressedImageToFile( _
   ByVal filename As String _
) 
'Usage
 
Dim instance As ScannedImage
Dim filename As String
 
instance.SaveSourceCompressedImageToFile(filename)
public void SaveSourceCompressedImageToFile( 
   string filename
)
public: void SaveSourceCompressedImageToFile( 
   string* filename
) 
public:
void SaveSourceCompressedImageToFile( 
   String^ filename
) 

Parameters

filename
A string representation of a legal file name (path) to which the file will be saved.
Remarks
Note: Compression must be set for the source first by setting AdvancedCapability.IcapCompression and AdvancedCapability.IcapPixelType should also be set to a pixel type that supports the compression.
Compression Mode Output File Type
TWCP_JPEG JPEG
TWCP_GROUP31D TIFF
TWCP_GROUP31DEOL TIFF
TWCP_GROUP32D TIFF
TWCP_GROUP4 TIFF
TWCP_PACKBITS TIFF
See Also

Reference

ScannedImage Class
ScannedImage Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback