Helper method which saves Bitmap image to the file.
Namespace: TwainScanning.Collectors
Assembly: TwainScanning (in TwainScanning.dll) Version: 1.4.3.0 (1.4.3.0)
Syntax
public static bool SaveImgTo<T>( T file, Bitmap b, ImageFormat fmt, params EncoderParameter[] ep )
Parameters
- file
- Type: T
File as file name or stream - b
- Type: System.DrawingBitmap
Bitmap - fmt
- Type: System.Drawing.ImagingImageFormat
image format - ep
- Type: System.Drawing.ImagingEncoderParameter
Encoding parameter
Type Parameters
- T
- type
Return Value
Type: BooleanSee Also