Loading...

Problem with PdfOCRCreateFromMultipageTIFFEx

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Problem with PdfOCRCreateFromMultipageTIFFEx

Postby 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
kyosukec
 
Posts: 6
Joined: Fri Oct 09, 2009 11:15 am

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Postby 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
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Problem with PdfOCRCreateFromMultipageTIFFEx

Postby kyosukec » Mon Oct 12, 2009 7:13 am

please find attached tif i used to convert. many thanks
Attachments
1.tif
kyosukec
 
Posts: 6
Joined: Fri Oct 09, 2009 11:15 am


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 2 guests