Forum Replies Created
- AuthorPosts
HI,
from my experiences in image programming ,I can provide you C# solution ,which is beneficial to beginners / learners.
you can follow the guide of image saving in .NET to save images as .bmp ,or other formats. AND if you need more support of image processing ,you can take a look on image processing SDK., with this marture API, image processing funtion is easy to achieve.Best regards.
thx for the info ,I;ve checked twain.dll in c#. work well for me.and I succeed integrating twain scanning component in my image processing app.
Your discussion has benefited me alot.AND I’ll try to use Twain sanning dll to generate pdf files.Thanx.
I am wondering if this Twain sanning component in C#.NET can meet your needs. I found that by google, and Im a noob in programming .you can take a chance on it.hope it helps
The following code shows how to control acquired image position and size:
this.device.Units = UnitType.Inches;
if (this.device.Units != UnitType.Inches) return;
this.device.Frame = new System.Drawing.RectangleF(0, 0, 8.5, 11);Does this work ?I found that from Twain Scanning in C#.NETby google.
@sunshine_ak wrote:
Ok, I’m sorry I didn’t write precisely.
I have Epson DS-30 and I’m writting my own app to operate it. In state 4 I’m checking what file formats are supported and TWFF_TIFFMULTI is one of them. I set capability ICAP_XFERMECH to TWSX_FILE and ICAP_IMAGEFILEFORMAT to TWFF_TIFFMULTI. Number of pages (CAP_XFERCOUNT) is set to -1. After message XFERREADY I’m setting structure TW_SETUPFILEXFER with proper path and file format. Then I’m using of course DG_IMAGE / DAT_IMAGEFILEXFER / MSG_GET. While scanning a few times to the same path, the file is overwritten. Tiff file has only one page. The same happend with various compression types.
To creat an app that with feature of Multi-page TIFF processing,such as save ,resize, convert,compress ,library of TIFF procrssing may give you a hand.
Read a Barcode
Read a barcodefrom images or documents with the following VB.NET codes:Dim myImage As RaterEdgeImage = New RaterEdgeImage(“barcodes.tif”)
Using Barcode As BarCodeReader = New BarCodeReader(myImage)Dim options As ReadOpts = New ReadOpts()
options.Direction = Directions.LeftToRight
options.Symbology = Symbologies.code39Dim bars As Barcode[] = Barcode.ReadBars(options)
For (i As Integer = 0; i < bars.Length; i++)
System.Console.WriteLine(bars(i).ToString())
End UsingTo get more info on Twain scanning,plz check the link .
hello,
Personally ,I love RE Twain SDK very muck.It is an excellent scanner tool at the markert.Anyone who in need mey check the link :http://www.rasteredge.com/how-to/vb-net-imaging/twain-scanning/
- AuthorPosts