mondogaq.blogg.se

Dual streaming is required for html viewing
Dual streaming is required for html viewing











dual streaming is required for html viewing

ImageAcquiredEventArgs)( AddressOf device_ImageAcquired) ' unsubscribe from device events RemoveHandler device1.ImageAcquired, New EventHandler( Of Vintasoft.Twain. Device = DirectCast(sender, Vintasoft.Twain. ''' Private Sub device_ScanFinished( ByVal sender As Object, ByVal e As EventArgs)ĭim device1 As Vintasoft.Twain. MessageBox.Show( "Scan is failed: " + Convert.ToString(e.ErrorString))Įnd Sub ''' ''' Scan is finished. ''' Private Sub device_ScanFailed( ByVal sender As Object, ByVal e As Vintasoft.Twain. ''' Private Sub device_ScanCanceled( ByVal sender As Object, ByVal e As EventArgs)Įnd Sub ''' ''' Scan is failed. Show( string.Format( "", acquiredImageInfo.PixelType, acquiredImageInfo.Resolution))Įnd Sub ''' ''' Scan is canceled. show message box with info about acquired image ImageInfo acquiredImageInfo = e.Image.ImageInfo / private void device_ImageAcquired( object sender, Vintasoft.Twain. Resolution(200, 200) Ĭatch (Vintasoft.Twain. Resolution(300, 300) ĭ( "/Camera_Bitonal_Both") ĭevice.Resolution = new Vintasoft.Twain. Device device = _deviceManager.DefaultDevice ĭevice.ImageAcquired += new System.EventHandler(device_ImageAcquired) ĭevice.ScanCanceled += new System.EventHandler(device_ScanCanceled) ĭevice.ScanFailed += new System.EventHandler(device_ScanFailed) ĭevice.ScanFinished += new System.EventHandler(device_ScanFinished) ĭevice.TransferMode = ĭevice.UnitOfMeasure = ĭ圎nabled = true ĭ( "/Camera_Color_Both") ĭevice.Resolution = new Vintasoft.Twain. / public void AcquireImagesAsynchronously() Public How_to_use_Dual_Stream_feature_of_Kodak_scanner()

dual streaming is required for html viewing

Public partial class How_to_use_Dual_Stream_feature_of_Kodak_scanner :

#DUAL STREAMING IS REQUIRED FOR HTML VIEWING HOW TO#

Here is an example that demonstrates how to acquire both sides of page as black-white and color images with different resolutions: /Camera_Bitonal_Both - camera acquires the top and bottom sides of page as black-white images./Camera_Bitonal_Bottom - camera acquires only the bottom side of page as black-white image./Camera_Bitonal_Top - camera acquires only the top side of page as black-white image./Camera_Color_Both - camera acquires the top and bottom side of page as color images./Camera_Color_Bottom - camera acquires only the bottom side of page as color image./Camera_Color_Top - camera acquires only the top side of page as color image.Each camera has predefined settings (pixel type and page side) and customizable settings (resolution, brightness, contrast, threshold, filters, etc).įor example, most of Kodak scanners has 6 cameras:

dual streaming is required for html viewing

SDK allows to use the Dual Stream feature of Kodak scanners.ĭual Stream feature means that scanner has some "cameras" and can make some snapshots of each acquired page.













Dual streaming is required for html viewing