PDF Encoder
The PDF encoder saves images to disk as PDF files. It accepts input from an OCR analysis task, so that you can create searchable PDF files from scanned documents or other images.
When the file specified by OutputPath already exists, Media Server adds pages to the PDF file instead of overwriting it. The file must have been created by the same version of Media Server. To generate separate PDF files for different source files, ensure that the value of OutputPath is different for each request. You can do this by including a macro (such as %session.token%
). If you are processing a multi-page image or document and want to encode a separate PDF file for each page you could also include a macro such as %segment.pageNumber%
.
Configuration Parameter | Description |
---|---|
CompressionQuality | The amount of compression to use when saving the PDF file(s). |
ImageInput | The image track to encode. |
ImageSize | The output image size in pixels. |
OCRInput | A track that contains data from OCR, to use to create a searchable PDF. |
OutputPath | The path and file name for the output file(s). |
Type | The type of encoding engine to use. Set this parameter to PDF . |
URLBase | The base URL that will be used to access the encoded files. |
The PDF Encoder produces a proxy track, named taskName.Proxy
, where taskName
is the name of the encoding task.