Search found 16 matches

by lbleicher
Sat May 26, 2012 11:49 pm
Forum: Barcode Reading & Writing
Topic: DataMatrix problem
Replies: 1
Views: 6453

DataMatrix problem

12.png Hi- I have created a Datamatrix decoder (in the code section below) but it fails to recognize a single barcode. Am I doing something foolish? All I get is "No barcode detected!" Source file is attached, plus a parsed out subimage which also fails with my code and the example barcod...
by lbleicher
Sat May 26, 2012 11:36 pm
Forum: OCR, MRC & Document understanding
Topic: OCR Failing
Replies: 6
Views: 5631

Re: OCR Failing

Hi Loic-

Upgrading to 8.5.29 has fixed the issue.

Thanks,
Leo
by lbleicher
Wed May 23, 2012 6:25 pm
Forum: OCR, MRC & Document understanding
Topic: OCR Failing
Replies: 6
Views: 5631

Re: OCR Failing

Hi Loic-

I am using
GdPicture.NET 8 (8.5.0.0)
GdPicture Tesseract 2 OCR Plugin 2.0.0.5 (12/9/2011)
GdPicture.NET PDF Plugin 1.0.0.22

Thanks,
Leo
by lbleicher
Tue May 22, 2012 7:19 pm
Forum: OCR, MRC & Document understanding
Topic: OCR Failing
Replies: 6
Views: 5631

Re: OCR Failing

Hi Loic- Thanks for the suggestion. I added : gdpStat = oGdPictureImaging.GetStat() after the PdfAddGdPictureImageToPdfOCR statement. For each page the returned value is 0 (OK)! However, there is still no text added. :( If I move the dictionary file I get status 801 (OCRDictionaryNotFound), which is...
by lbleicher
Tue May 22, 2012 5:48 am
Forum: OCR, MRC & Document understanding
Topic: OCR Failing
Replies: 6
Views: 5631

OCR Failing

Hi- I have been using the code below to OCR PDF image files successfully for a while, but recently had to change envirnoments, and now I no longer get any text in the resulting PDF/A. Each page seems to get read and rendered, but the PdfAddGdPictureImageToPdfOCR statement does not seem to do anythin...
by lbleicher
Mon Jan 16, 2012 8:21 pm
Forum: PDF
Topic: How to compress and pack existing PDF
Replies: 7
Views: 22490

Re: How to compress and pack existing PDF

Hi Loic- Various types of compression (the best example being jpeg) allow for various trade-offs between compression and quality of image. The code you provided does not address which compression type will be applied (jpeg, jpeg2000 etc) or the quality level. Does it rely on defaults? If so which on...
by lbleicher
Fri Jan 13, 2012 10:31 pm
Forum: PDF
Topic: How to compress and pack existing PDF
Replies: 7
Views: 22490

Re: How to compress and pack existing PDF

Hi Loic-

This is handy, but how does one control the type and amount of compression applied by this method?

Thanks,
Leo
by lbleicher
Fri Jan 13, 2012 7:58 pm
Forum: OCR, MRC & Document understanding
Topic: Document sizes after PdfAddGdPictureImageToPdfOCR
Replies: 2
Views: 3254

Re: Document sizes after PdfAddGdPictureImageToPdfOCR

Hi Loic- Thanks for the suggestion, but that does not help. I already had a select/case statement to do conversion back to the original bit depth (though the RenderPageToGdPictureImageEx method is a better way). I still have this 11k input pdf coming out as 1148k!!! Is it possible that the JPEG comp...
by lbleicher
Thu Dec 22, 2011 7:13 pm
Forum: OCR, MRC & Document understanding
Topic: Document sizes after PdfAddGdPictureImageToPdfOCR
Replies: 2
Views: 3254

Document sizes after PdfAddGdPictureImageToPdfOCR

Hi- My application executed OCR on scanned image PDFs to create searchable PDF/A output. However, I have noticed that the result of the code below takes as much as 10x disk space as the original. Can anyone explain why? Am I missing a step somewhere? Attached is a sample PDF that goes from 12k befor...
by lbleicher
Thu Dec 22, 2011 6:56 pm
Forum: OCR, MRC & Document understanding
Topic: PdfAddGdPictureImageToPdfOCR and Timeout
Replies: 2
Views: 3250

Re: PdfAddGdPictureImageToPdfOCR and Timeout

Hi Loic-

Thanks for the suggestion. I have upgraded, and that seems to have fixed the stalling problem.

Leo
by lbleicher
Wed Dec 21, 2011 3:11 am
Forum: OCR, MRC & Document understanding
Topic: PdfAddGdPictureImageToPdfOCR and Timeout
Replies: 2
Views: 3250

PdfAddGdPictureImageToPdfOCR and Timeout

Hi- Is it possible to set a timeout for this function (PdfAddGdPictureImageToPdfOCR). I am having periodic issues with this call simply running forever (>1 hour) on relatively small image PDFs (e.g. 40 pages). Since I am not able to figure out what is wrong with these PDFs I would like to be able to...
by lbleicher
Sat Nov 12, 2011 2:20 am
Forum: PDF
Topic: Huge PDFs
Replies: 1
Views: 1811

Huge PDFs

Hi- I'm trying to open a 10 page pdf that takes up 740MB on disk. GdPicture seems to fail no matter how I try to do it. Is this simply too large a file for GdPicture? Also, given that the pages (when I output them each as a tif using Acrobat8) are only 3000x4000 pixels, any ideas what else could be ...
by lbleicher
Tue Nov 08, 2011 10:23 pm
Forum: PDF
Topic: GetPDFAConformance
Replies: 2
Views: 2137

Re: GetPDFAConformance

I see Loic just posted the answer...

viewtopic.php?t=3409

Thanks.
Leo
by lbleicher
Tue Nov 08, 2011 9:32 pm
Forum: PDF
Topic: GetPDFAConformance
Replies: 2
Views: 2137

GetPDFAConformance

Hi- I am trying to test for PDF/A compliance. With the following code: If InputPDF.LoadFromFile(pdfPath, False) = GdPicture.GdPictureStatus.OK Then pgCnt = InputPDF.GetPageCount() InputPDF.SetTitle("testTitle") titleString = InputPDF.GetTitle() conformCode = InputPDF.GetPDFAConformance() T...
by lbleicher
Tue Nov 08, 2011 2:31 am
Forum: General discussions
Topic: Standardize resolution of images in PDF
Replies: 4
Views: 4023

Re: Standardize resolution of images in PDF

Hi Loic- Thanks for the quick and helpful response. I now have a working module: executedGdPCmd = OutputPDF.NewPDF(True) 'Should make PDF/A file 'get some info about the document If InputPDF.LoadFromFile(pdfPath, False) = GdPicture.GdPictureStatus.OK Then For i As Integer = 1 To InputPDF.GetPageCoun...