Problem with PdfOCRCreateFromMultipageTIFFEx

Discussions about image processing and document imaging.
Post Reply
kyosukec
Posts: 6
Joined: Fri Oct 09, 2009 11:15 am

Problem with PdfOCRCreateFromMultipageTIFFEx

Post by kyosukec » Fri Oct 09, 2009 11:22 am

Dear Sir,

I use the following code to generate searchable pdf but it just failed

Code: Select all

        Dim imgId As Long = AxImaging1.CreateImageFromFile("c:\temp\skf\1.tif")

        AxImaging1.PdfOCRCreateFromMultipageTIFFEx(imgId, "C:\temp\skf\1.pdf", GdPicturePro5.TesseractDictionary.TesseractDictionaryEnglish, "C:\Program Files\GdPicture ToolKit Pro Edition\redist\optional\ocrdata")

It happens after i try to upgrade to 5.12 and The exception it throw is

Code: Select all

at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at AxGdPicturePro5.AxImaging.PdfOCRCreateFromMultipageTIFFEx(Int32 nImageID, String sFilePath, TesseractDictionary nDictionary, String sDictionaryPath)

After that, even i uninstall 5.12 and install back 5.9 again but with no help. It is originally no problem, please help. many thanks

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Post by Loïc » Fri Oct 09, 2009 4:24 pm

Hi,

Could you send us your tiff at esupport (at) gdpicture (dot) com for investigation ?

Kind regards,

Loïc

kyosukec
Posts: 6
Joined: Fri Oct 09, 2009 11:15 am

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Post by kyosukec » Mon Oct 12, 2009 7:13 am

please find attached tif i used to convert. many thanks
Attachments
1.tif

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest