Search found 12 matches

by Eric
Thu Mar 20, 2014 4:22 am
Forum: Image Processing & Document Imaging
Topic: File lock...
Replies: 1
Views: 804

File lock...

I use _oGdPictureImaging.TiffCreateMultiPageFromGdPictureImage(imageId) to create a multipage tiff file , and i use _oGdPictureImaging.TiffSaveMultiPageToFile(imageId, savePath, TiffCompression.TiffCompressionCCITT4) to save tiff file, but when i want to delete file after use _oGdPictureImaging.Crea...
by Eric
Mon Jan 20, 2014 12:48 pm
Forum: Image Processing & Document Imaging
Topic: Loïc , help me
Replies: 1
Views: 651

Loïc , help me

today , i got a big trouble from my customer. he used my scan program to scan ducuments , see pictures the pic_1 is original image , it so near the A4 border. the pic_2 is use my scan program to scan it , then image is croped.... my customer so angry , he want me to solve it. is any good method to s...
by Eric
Fri Mar 29, 2013 12:53 pm
Forum: Image Processing & Document Imaging
Topic: AppendPage's performance
Replies: 1
Views: 790

AppendPage's performance

I have a multipage tiff file. It's more than 1000 pages. I use TiffAppendPageFromGdPictureImage method but it's too slow. The simple code is below: Dim docNo As String = String.Empty For Each nmf As String In System.IO.Directory.GetFileSystemEntries(Me._noMatchDirectory, "*.tif") Dim noMatchImageID ...
by Eric
Wed Mar 27, 2013 9:18 am
Forum: TWAIN & WIA Acquisition
Topic: ImagID = 0 ...
Replies: 1
Views: 1665

ImagID = 0 ...

I have trouble... The ImagID = 0 when i used the _oGdPictureImaging.TwainAcquireToGdPictureImage(Me.Handle) in HP Laser Jet 1536dnf MFP scanner. Then i try other scanner that is Canon MG5300, and imageID <> 0. I can't understand why no such condition occurs before when i used HP Laser Jet 1536dnf MF...
by Eric
Thu Mar 14, 2013 12:21 pm
Forum: 1D Barcode Reading & Writing
Topic: recognize barcode
Replies: 1
Views: 2199

recognize barcode

I have a question to ask. If there are two or more barcode on the A4 papers , and their position are random. Maybe on the left and right or only on left have barcodes. Which barcode will be recognized when i setROI is A4 size and use _oGdPictureImaging.Barcode1DReaderDoScan(ImageID) method. Thanks~
by Eric
Mon Feb 18, 2013 11:13 am
Forum: Image Processing & Document Imaging
Topic: About remove blank page
Replies: 1
Views: 1316

About remove blank page

See the attchement. I write a number "1" on the lower right of blank page. It's determine a blank page when i use oGdPictureImaging.IsBlank(ImageID, 99.5) Are there any methods can determine it not a blank page? In addition,are there any methods can let i get the image's size like the scanner(Kodak)...
by Eric
Fri Feb 01, 2013 10:02 am
Forum: TWAIN & WIA Acquisition
Topic: TwainAcquireToGdPictureImage Hanging
Replies: 1
Views: 1018

TwainAcquireToGdPictureImage Hanging

Hello~ I am in trouble. My program is handing when i use _oGdPictureImaging.TwainAcquireToGdPictureImage(Me.Handle) method. Sometime this case was happand,but i don't know how to slove it. I see some information in the gdpicture_twain.log. ::DS operation. DG: DG_CONTROL - DAT: DAT_EVENT - MSG: MSG_P...
by Eric
Mon Jan 07, 2013 4:35 am
Forum: Image Processing & Document Imaging
Topic: About TiffAppendPageFromGdPictureImage method
Replies: 1
Views: 758

About TiffAppendPageFromGdPictureImage method

I use TiffCreateMultiPageFromGdPictureImage methd to create a multipage in memory,and use TiffAppendPageFromGdPictureImage method to add page,then i find the speed become very slow. So I use log4net to record some information like process time,then I find something. The spend time of TiffAppendPageF...
by Eric
Thu Dec 20, 2012 7:56 am
Forum: Image Processing & Document Imaging
Topic: GenericError
Replies: 1
Views: 855

GenericError

case1: oGdPictureImaging.TwainSetResolution(600) ImageID = _oGdPictureImaging.TwainAcquireToGdPictureImage(Me.Handle) 'get ImageID is 1 MultiPageID = oGdPictureImaging.TiffCreateMultiPageFromGdPictureImage(ImageID) 'get MultiPageID is 4 case2:oGdPictureImaging.TwainSetResolution(1200) ImageID = _oGd...
by Eric
Wed Dec 19, 2012 9:18 am
Forum: 1D Barcode Reading & Writing
Topic: OutOfMemory
Replies: 1
Views: 2126

OutOfMemory

My question is below... First time , i set the ROI like this,GdPictureImaging.SetROI(1283, 306, 1937, 545). I use oGdPictureImaging.Barcode1DReaderDoScan(ImageID) method and get oGdPictureImaging.GetStat is OK. Then i can use oGdPictureImaging.Barcode1DReaderGetBarcodeCount and oGdPictureImaging.Bar...
by Eric
Fri Dec 07, 2012 4:29 am
Forum: Image Processing & Document Imaging
Topic: Using TiffCreateMultiPageFromGdPictureImage
Replies: 1
Views: 1103

Using TiffCreateMultiPageFromGdPictureImage

the simple code is below : Dim ImageID1 As Integer = 0 Dim ImageID2 As Integer = 0 oGdPictureImaging.TiffOpenMultiPageForWrite(True) ImageID1 = oGdPictureImaging.TiffCreateMultiPageFromFile("input.tif") 'the page count of ImageID1 is > 1 ImageID2 = oGdPictureImaging.TiffCreateMultiPageFromGdPictureI...
by Eric
Wed Oct 03, 2012 4:43 am
Forum: Example requests & Code samples
Topic: Hi Loïc , i need your help ...
Replies: 2
Views: 1072

Hi Loïc , i need your help ...

Hi Loïc ~ I have a question ask to you. I want save a multipage tiff to memory. I use SaveAsStream function to save a GDPicture image to stream. Save the first page tiff become a singlepage tiff in stream is successful when i use SaveAsStream function The simple code is below: ===== Dim ImageID As I...