I need to upload a pdf file with text to the OCR and download a .docx file using a ruby app I've developed. The code is OK, but I always receive a "WARN: Error: Unsupported image file format". It is a PDF file that only contains text. (I also tried with pdf with an image.) I'm trying with processImage method.

I really need this feature to work as soon as possible.

i'm using a pdf 1.3 file.

asked 25 Oct '13, 05:25

ricardoaandres's gravatar image


This error may occur if you are trying to process the image which is located on a remote server. The processImage method is not suitable for this task. You should use a method, which is in beta-testing now, we can send you information about it via e-mail.

If you process the image which is located on your computer, please try to process this image with our sample code and let us know about the result.


answered 25 Oct '13, 15:15

Anastasia%20Galimova's gravatar image

Anastasia Ga... ♦♦

Anastasia, I tried downloading the file from S3 to my computer and then send it to the OCR, so I think it's the same as working with local files. Please correct me if I'm wrong.

I'd love to receive some information about the method you mentioned.

(25 Oct '13, 20:25) ricardoaandres

I've send you the information about the method via e-mail.

Could you please clarify if the issue could be reproduced with our sample code http://ocrsdk.com/documentation/code-samples/? If yes, please share or send to CloudOCRSDK@abbyy.com the file you recognize.

(26 Oct '13, 17:14) Anastasia Ga... ♦♦
Your answer
toggle preview

Follow this question

By Email:

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



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



Asked: 25 Oct '13, 05:25

Seen: 1,441 times

Last updated: 26 Oct '13, 17:14

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