Convert SVG to PDF

Go to Product

This endpoint converts one or more SVG (Scalable Vector Graphics) files to PDF format. Each SVG is converted to a separate PDF file. The conversion preserves vector graphics for crisp output at any resolution - no rasterization occurs. SVG dimensions (width/height) determine the PDF page size; defaults to A4 if not specified. SVG content is sanitized to prevent XSS attacks. Input:IMAGE Output:PDF Type:MIMO

Options

File Input
The SVG file(s) to be converted to PDF. SVGs are scalable and have inherent dimensions - the conversion uses these dimensions to determine the PDF page size. If dimensions are not specified in the SVG, A4 size is used.
  • File: A single file which is sent as part of “File Input”.
Combine Into Single PDF
Whether to combine all SVG files into a single PDF (each SVG as a separate page) or create separate PDF files for each SVG.
Response Type
Specify the response type. With Auto-detect – the default – the type is taken from the response itself, which is the appropriate choice whenever the API determines the type based on the request parameters; note that in this case the structure of the output table is only known once the node was executed. The following response types are available:
  • application/pdf – Single PDF file result
  • application/zip – ZIP archive containing multiple output files
  • image/png – Single image file (PNG)
  • image/jpeg – Single image file (JPEG)
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.