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:
- upload the image on s3
- create a rabbitmq task in order to call your service
- call ProcessImage in the task with the file that I'm pulling from s3
- 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 ?
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.
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!
We have send you the description of the method for processing remote images via e-mail.
Hi! Can you send me the information too? Thanks! Regards!
We have sent you the description of the method by e-mail, too.
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.
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).
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.
We answered you by e-mail yesterday.
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.
We answered you by e-mail.
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.
Please Help. Thanks in Advance.
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.
I'm having the problem with the API returning "551 Unsupported image file format" on a new server. My old server still works.
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.
i have same issue,
Please send correct method by email
We have sent you the description of the method by e-mail.
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)
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.
Based on the references you provided implemented but getting following error "Unexpected task status Submitted".Looks like it is not returning proper status.
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.
Can I get your email with method, that fetch image from s3?
Can you send me a method for remote servers?
Hi, I have sent you the description of method via private message.
i have the same issue. Can you send me instructions to fix this? I'm sending the image from our server using curl with php.
I have same problem. I would also like to reach the solution.
I also have this issue, sending image data via curl/php. It works fine on development machine but returns '551 unsupported image file format' when sending the image from EC2.
Please could you share the solution mentioned in this thread?
I faced that issue as well.
When I copy the image to my local workstation and then alter it then there are errors in the processing.
Copy the page to your local computer and then process the image.
That should work fine.
I'm using the example image (MobPhoto_1.jpg).
I try to run the code in localhost and also in my cpanel linux server.
my request was in PHP, something like the code below and the response is "Unsupported image file format".
I Found the solution:
Replacing the line:
Please sign in to leave a comment.