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

  • 2.4K Views
  • Last Post 18 December 2014
tbernina posted this 17 December 2014

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

Oksana Serdyuk posted this 18 December 2014

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.

Close