Community

'Unsupported image file format' witch haxx-curl and win7 from command line

Hello Ladies and Gentlemen,

I want to use ocrsdk from the windows7 command line via curl. Therefore, tried to upload the supported image "New Image.JPG" from a local drive with this curl call, as described in your curl example:

curl -s -S --user "xnumbers:XXXXXX/XXXXX/XXXXX" --form "upload=D:\data\New Image.JPG" "http://cloud.ocrsdk.com/processImage?exportFormat=txt&language=german"

Unfortunately, I get this error message:

<error> <message language="english"> Unsupported image file format </message> </error>

Is it possible to run the curl via windows command-line? What is wrong in my call? I have replaced my ApplicationId and Password in the above example by 'XXX', because this is a public forum.

Best regards, Thomas

0

Comments

1 comment

  • Avatar
    Oksana Serdyuk

    Hello Thomas,

    To let us investigate the issue, please share or send to CloudOCRSDK@abbyy.com some additional information:

    1) logs from any HTTP debugger (for example, Fiddler),

    2) the image you recognize.

    0

Please sign in to leave a comment.