Page 1 of 1

Problem with PdfOCRCreateFromMultipageTIFFEx

Posted: Fri Oct 09, 2009 11:22 am
by kyosukec
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

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Posted: Fri Oct 09, 2009 4:24 pm
by Loïc
Hi,

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

Kind regards,

Loïc

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Posted: Mon Oct 12, 2009 7:13 am
by kyosukec
please find attached tif i used to convert. many thanks