Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Convert → Convert Pdf To Vector

AI-generated

Summary

Convert a PDF file to a specified vector graphics format using either an input binary file or a previously uploaded server-side file ID.

Inputs

  • Input Binary Field Name (File Input) — Name of the binary property containing the PDF file data to convert.
  • File Id — ID of a previously uploaded server-side PDF file to convert, used instead of binary input.
  • Output Format — Desired vector format for the output file, options are eps, ps, pcl, or xps.
  • Prepress (required) — Flag to apply Ghostscript prepress settings during conversion.

Output shape

binary data of the converted vector file

Output is a binary vector file in the chosen format. Only one of input binary or file ID is required. Optional request-level settings can control batching, proxy, SSL, and timeout but do not affect output shape.

Examples

Example 1: Convert a PDF binary file input to EPS with prepress enabled.

Set 'Input Binary Field Name' to the binary property containing the PDF, select 'Eps' as Output Format, and enable Prepress.

Example 2: Convert a previously uploaded PDF on the server to XPS without prepress.

Provide the server-side 'File Id', choose 'Xps' as Output Format, and disable Prepress.

Links

Discussion