ImageScan ImageScan
Features
With this component is possible to write applications that acquire image from scanner device and to apply a manipulation filter to image acquired or loaded. The collection contains two advanced components for Developer, both in Visual Studio .NET and Visual Studio 6 technology, each with help and information how to use, and includes the examples code.

Download

Attention! can download, and use this software, but is a discontinued software, and the supports not are longer available.

Requirements
  • Windows XP, Windows 2003, Windows Vista, Windows 7
  • Visual Basic 6.0 (or other ambient that supports ActiveX technology) *
  • Visual Studio 2003-2010 FrameWork 1.1 (or other ambient that support it) **
* only for ActiveX components
** only for VS.NET componenets

Developments
When register this product you can full using the libraries for developers in your other applications. Below describes the properties and methods you can use for single component :

Interface Description
Propertys
Left, Top, Right, Bottom Return or set the coordinate for image size during the acquisition
ColorType Return or set the pixel type of current acquisition
FileName * Name of file for to save or load image
FileType * Set image type fot to save
Image Return the current acquisition image
Quality * Set image quality fro jpeg formats
Resolution Return or set the current DPI resolution for the acquisition
ShowInterface Return or set if the standard dialog must be shown
ShowProgress Return or set the standard progress dialogmust be shown
UnitType Return or set the units for coordinates
Methods
BlackWihite * Converts a bitmap to an 1-bit black and white bitmap
Blur * Blur the image
CancelOperation Cancel the current acquisition
Compare * Compare current bitmap with another bitmap
Contrast * Increases or decreases the contrast of the bitmap
Crop * Select a area and to crop the display to show only that area
Fade * Increases or decreases the transparency of the bitmap
Fit * Resize the bitmap to the current view size
Flip * Flips the bitmap from top to bottom
GrayScale * Converts a bitmap to an 8-bit grayscale bitmap
Invert * Inverts the colors in the bitmap, making it like a photographic negative
Lighten * Increases or decreases the light of the bitmap
Load * Load one images from a file (GIF, BMP, TIFF, JPEG, PNG)
Resize * Resize the bitmap
Reverse * Reverses the bitmap (left to right) to produce a mirror image
Rotate * Rotates the bitmap to +90°
Save * Save the current image in to a file (GIF, BMP, TIFF, JPEG, PNG)
SaveAdd * Save the current image in to a TIFF multipage file
Scan Load one images from a image scanner devices
SelectSource Select a devices of image scanner
Sharpen * Increases the sharpness of the image in the bitmap
ShowLoad * Select a file to load with standard dialog interface
ShowSave * Save current bitmap in to file with standard dialog interface
Zoom * Increases or decreases the zoom of the bitmap

* only for ImageScan ActiveX


Below a simple example for VS.NET version :
VB
Imports Priore.Controls

Dim TW As Twain
TW = New Twain(Me.Handle)
TW.Resolution = 100
TW.ColorType = Twain.TWAIN_CLASS_COLOURTPYE.twRGB
TW.ShowInterface = True
TW.ShowProgress = True
TW.StartScan
PictureBox1.Image = TW.Image
TW.Image.Save(“myimage.jpg”)
                                
C#
using Priore.Controls;

Twain TW = new Twain(this.Handle);
TW.Resolution = 100;
TW.ColorType = Twain.TWAIN_CLASS_COLOURTPYE.twRGB;
TW.ShowInterface = true;
TW.ShowProgress = true;
TW.StartScan();
PictureBox1.Image = TW.Image;
TW.Image.Save(“myimage.jpg”);
                                

NOTE: some drivers scanners ignoring the settings of particular capability. One this situation is when you are trying to set or get the capability, which is not supported at all by your driver or when you are trying to set value out of the range of supported values for particular capability, particular device or context. This component not be able for to use with ADF (Automatic Document Feeder) special type scanners. TWAIN defines a standard software protocol and application programming interface (API) for communication between software applications and image acquisition devices. TWAIN Provides image acquisition solutions. Users need a painless way to get image data into their applications. Software developers need compatibility with the widest range of output devices without writing and maintaining multiple device drivers. The solution to this situation is an open industry interface (TWAIN) that directly acquires image data from external sources while within an application. With this, each software developer supports a standard data acquisition manager and each hardware vendor writes one driver for their device. Hardware vendors benefit because they need only provide one standard driver for their device, which can then be used by all software applications supporting the TWAIN data acquisition interface. TWAIN defines how application developers can acquire image data directly into their application without requiring the user to switch out of the application. To provide this feature, TWAIN requires Data Sources to provide a built-in user interface (UI) for their device. Application developers can, if they choose, disable the built-in User Interface provided by the Data Source and provide their own User Interface to control TWAIN devices.


Awards
Award Award Award Award Award Award Award Award Award Award Award Award Award




Copyright © 1996-2017 Centro Studi Informatica di Danilo Priore. All rights reserved. P.I.10149810581.
prioregroup.com