551 Unsupported image file format

  • 6.1K Views
  • Last Post 28 July 2017
boertel posted this 29 August 2013

Hi,

I'm getting the following error: <?xml version="1.0" encoding="utf-8"?><error><message language="english">Unsupported image file format</message></error> using the Python library. The issue is that it's working well on my local environment but whenever I'm trying in production environment I'm getting the error :/

Here is the flow:

  1. upload the image on s3
  2. create a rabbitmq task in order to call your service
  3. call ProcessImage in the task with the file that I'm pulling from s3
  4. the error happens at this point.

The image I'm trying to analyze are .jpeg (but I've got the same error with png) and the image is processed with PIL whenever I'm uploading the image, can the configuration of the machine affect the image ? What can exactly trigger the unsupported image format on one machine and not this other ?

Thanks

  • Liked by
  • rx4hvn
Order By: Standard | Newest | Votes
Anastasia Galimova posted this 02 September 2013

The issue occurs because the processImage method is suitable for the images that are loaded from the computer directly. We have a method for processing the images that are located on a remote server, it is in beta-testing. We will send you the information about it by e-mail.

  • Liked by
  • Rfranco
Rfranco posted this 17 October 2013

Hi, can you send me the information too? Or can we get the original file after OCR reads it? To be clear: The user upload the file to Abbyy, Abbye reads it and send to a server the original file and the txt file. Thanks!

Anastasia Galimova posted this 23 October 2013

We have send you the description of the method for processing remote images via e-mail.

agurodriguez posted this 07 December 2014

Hi! Can you send me the information too? Thanks! Regards!

Oksana Serdyuk posted this 08 December 2014

We have sent you the description of the method by e-mail, too.

Andrey Zakharov posted this 26 February 2015

Hi, I have the same problem as topic starter described, but don't use S3 and send local images. I use Python and it's working on local enviroment and on development server, but get error Unsupported image file format. I tried to google a solution, but nothing found.

Oksana Serdyuk posted this 11 March 2015

Hi Andrey,

Sorry for the delay in response. If the issue is still actual, please send to CloudOCRSDK@abbyy.com the following information:

1) your Application ID;

2) the image you recognize;

3) logs from any HTTP debugger (for example, Fiddler).

mflmartin posted this 08 September 2015

I need that solution as well. A simple image from a shared host works, but from an AMAZON EC2 instance, it does not work, it says unsupported image file format, when the image is perfectly fine, and works in another shared server. I am using PHP.

Can you post it or send it via email? It's urgent. Thanks.

Oksana Serdyuk posted this 09 September 2015

We answered you by e-mail yesterday.

vitaly posted this 15 December 2015

Dear support, I've got the same problem with API. Any images return error: "551 Unsupported image file format" although the previous old server didn't get such an error.

Julia Anikushina posted this 16 December 2015

We answered you by e-mail.

rx4hvn posted this 07 January 2016

Hi There! I am not able to convert image to text file using PHP. I am running it from xampp local server. I tried with several sample images provided in your website. It always shows the same error message saying Unsupported image file format.

But it runs well in JavaScript. But i want to do it from PHP or the AJAX style if possible.

Please Help. Thanks in Advance.

Oksana Serdyuk posted this 08 January 2016

Please make sure that you transmit to the service the binary data as is. The fact is that Cloud OCR SDK cannot work with the data encoded in base64.

If the issue is still actual, please kindly send to CloudOCRSDK@abbyy.com the logs from any HTTP debugger (for example, Fiddler). It allows to see what requests do you send to the server. You can download the Fiddler debugger for free here: www.telerik.com/fiddler.

JWA-Axiscare posted this 13 January 2016

I'm having the problem with the API returning "551 Unsupported image file format" on a new server. My old server still works.

Oksana Serdyuk posted this 13 January 2016

To let us investigate the issue please send to CloudOCRSDK@abbyy.com the following information:

1) your Application ID;

2) logs from any HTTP debugger (for example, Fiddler);

3) the programming language you use.

seizart posted this 18 January 2016

i have same issue,

Please send correct method by email

Thanks

Oksana Serdyuk posted this 19 January 2016

We have sent you the description of the method by e-mail.

sangram posted this 18 June 2016

i have same issue,

Please send the solution to me.I think you should post the answer in forum so that everyone can able to get it. (Note: The same code works properly on the godadday server but it is not working on the aws ec2)

Thanks

Oksana Serdyuk posted this 20 June 2016

The fact is that the method is still in a beta status and is not fully tested, that's why we provide it only on demand. We have sent you the description of the method by e-mail, please check it.

sangram posted this 23 June 2016

Based on the references you provided implemented but getting following error "Unexpected task status Submitted".Looks like it is not returning proper status.

Oksana Serdyuk posted this 23 June 2016

Please check if you transmit the source parameter with the direct URL address of the image which must be recognized with the corresponding filename extension.

If the issue is still actual, please send to CloudOCRSDK@abbyy.com the logs from any HTTP debugger (for example, Fiddler). It allows to see what requests do you send to the server. You can download the Fiddler debugger for free here: www.telerik.com/fiddler.

Taras Danylyuk posted this 28 July 2017

Can I get your email with method, that fetch image from s3?

Close