Saves the image of a specified index in buffer as a JPEG file.
Boolean ObjectName. SaveAsJPEG(String FileName, Short sImageIndex)
String FileName: the name of the JPEG file to be saved.
Short sImageIndex: specifies the index of image in buffer. The index is 0-based.
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
JPEG compression is a built-in feature of Dynamic Web TWAIN, no other DLLs are required.
JPEG standard defines that only 256 gray-scaled image and 24 bit RGB image can be compressed as JPEG format.
JPEGQuality property, SaveAsBMP(), SaveAsTIFF(), SaveAsPNG(), SaveAllAsMultiPageTIFF(), FTPUpload(), FTPDownload(), HTTPUploadThroughPut(), HTTPUploadThroughPost(), HTTPDownload()