how to set more than one output formats in cloud ocr

  • 1.9K Views
  • Last Post 28 June 2013
sivakl2001 posted this 24 June 2013

hi how to set more than Output format

currently i can set only one output format, can i set more than one output format? if possible please help me to set more than one output format

ProcessingSettings settings = buildSettings(language, outFormat);

Anastasia Galimova posted this 28 June 2013

Hi,

You should pass up to 3 comma-separated export formats as arguments to the processImage or the processDocument method.

E.g.:

[HTTP POST] processImage?language=Spanish,English&exportFormat=pdfSearchable,xml

Upon task completion, server xml response will contain resultUrl attribute for first export format, resultUrl2 attribute for the second, and resultUrl3 for the third.

Close