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

asked 29 Aug '13, 08:12

boertel's gravatar image

boertel
1112


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.

link

answered 02 Sep '13, 21:50

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦
790112

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!

(17 Oct '13, 21:43) Rfranco

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

(23 Oct '13, 00:04) Anastasia Ga... ♦♦

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

link

answered 07 Dec '14, 03:48

agurodriguez's gravatar image

agurodriguez
111

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

(08 Dec '14, 12:42) Oksana Serdyuk ♦♦

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.

link

answered 26 Feb '15, 19:21

Andrey%20Zakharov's gravatar image

Andrey Zakharov
1

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).

(11 Mar '15, 12:25) Oksana Serdyuk ♦♦

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.

link

answered 08 Sep '15, 18:11

mflmartin's gravatar image

mflmartin
11

edited 08 Sep '15, 18:11

We answered you by e-mail yesterday.

(09 Sep '15, 08:46) Oksana Serdyuk ♦♦

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.

link

answered 15 Dec '15, 11:28

vitaly's gravatar image

vitaly
111

We answered you by e-mail.

(16 Dec '15, 14:56) Julia Anikus... ♦♦

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.

link

answered 07 Jan '16, 01:19

rx4hvn's gravatar image

rx4hvn
112

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.

(08 Jan '16, 11:36) Oksana Serdyuk ♦♦

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

link

answered 13 Jan '16, 00:30

JWA-Axiscare's gravatar image

JWA-Axiscare
111

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.

(13 Jan '16, 13:39) Oksana Serdyuk ♦♦

i have same issue,

Please send correct method by email

Thanks

link

answered 18 Jan '16, 17:35

seizart's gravatar image

seizart
111

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

(19 Jan '16, 00:34) Oksana Serdyuk ♦♦

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

link

answered 18 Jun '16, 09:13

sangram's gravatar image

sangram
112

edited 18 Jun '16, 09:34

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.

(20 Jun '16, 11:22) Oksana Serdyuk ♦♦

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

(23 Jun '16, 08:17) sangram

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.

(23 Jun '16, 13:13) Oksana Serdyuk ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×30
×8
×7
×4

Asked: 29 Aug '13, 08:12

Seen: 5,635 times

Last updated: 23 Jun '16, 13:13

© 2016 ABBYY. All rights Reserved. www.ABBYY.com | Privacy Policy | Legal