Previewer offers a simple REST API that gives back a PNG image in the response body of a GET/ preview
request on the API.
The URL of the document to be converted is passed as parameter in the GET
request. The page format of the preview is the same as the document to be converted.
Optional parameters can be passed in the GET
:
- orient: portrait or landscape
- format: A4 to A0
In any case, a PNG picture is sent back to the request.
Visit the project’s page on Orange-OpenSource GitHub. Previewer is published under MPL v2.0 (more).