'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" ""

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



1 comment

  • Avatar
    Oksana Serdyuk

    Hello Thomas,

    To let us investigate the issue, please share or send to some additional information:

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

    2) the image you recognize.


Please sign in to leave a comment.