JPEG to PDF API

The API for converting images to PDF files.

JPEG PDF

The API for converting JPEG images to PDF files.

Sign Up to try this converter - it’s free! Sign Up to Convert

Copy parameter's URL

Secret

Secret String
Authentication secret must be provided as a query parameter. If omitted, token must be provided.
Show all
Copy parameter's URL

Token

Token String
Authentication token must be provided as a query parameter. If omitted, secret must be provided.
Show all
Copy parameter's URL

File *

File * File
File to be converted. Value can be URL or file content.
Show all
Copy parameter's URL

StoreFile

Store file Bool
Store converted file on our secure server and provides download URL.
Default: False Show all
Copy parameter's URL

FileName

File name String
Converted output file name without extension. The extension will be added automatically.
Show all
Copy parameter's URL

Timeout

Timeout Integer
Conversion timeout in seconds.
Default: 900 Range: 10 .. 1200 Show all
Copy parameter's URL

MarginHorizontal

Horizontal margin Integer
Set the page horizontal margin in millimeters (mm).
Default: 0 Range: 0 .. 500 Show all
Copy parameter's URL

MarginVertical

Vertical margin Integer
Set the page vertical margin in millimeters (mm).
Default: 0 Range: 0 .. 500 Show all
Copy parameter's URL

PageSize

Page size Collection
The property scales each image to fit a given page size.
Default: default Values: default a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 letter legal Show all
Copy parameter's URL

PageOrientation

Page orientation Collection
Set page orientation. Works only with the PageSize property when it is set to a value other than the Image size.
Default: default Values: default portrait landscape Show all
Copy parameter's URL

Rotate

Rotate Collection
Rotate image by degree. Auto rotation using EXIF supported for TIFF and JPEG images.
Default: 0 Values: 0 90 180 270 auto Show all
Copy parameter's URL

ColorSpace

Image color space Collection
Set image color space.
Default: default Values: default rgb srgb cmyk gray Show all
Copy parameter's URL

ColorProfile

Image color profile Collection
Set image color profile. Some profiles will override the ColorSpace property.
Default: default Values: default isocoatedv2 Show all

Code snippet

// Code snippet is using the ConvertAPI JavaScript Client: https://github.com/ConvertAPI/convertapi-js

// Code snippet is using the ConvertAPI Node.js Client: https://github.com/ConvertAPI/convertapi-nodejs

// Code snippet is using the ConvertAPI PHP Client: https://github.com/ConvertAPI/convertapi-php

// Code snippet is using the ConvertAPI Java Client: https://github.com/ConvertAPI/convertapi-java

// Code snippet is using the ConvertAPI C# Client: https://github.com/ConvertAPI/convertapi-dotnet

# Code snippet is using the ConvertAPI Ruby Client: https://github.com/ConvertAPI/convertapi-ruby

# Code snippet is using the ConvertAPI Python Client: https://github.com/ConvertAPI/convertapi-python

// Code snippet is using the ConvertAPI Go Client: https://github.com/ConvertAPI/convertapi-go

REM Code snippet is using the command line utility program: https://github.com/ConvertAPI/convertapi-cli

<!-- For conversions with the multiple file result please refer to this example: https://repl.it/@ConvertAPI/HTML-Form-with-multiple-file-result -->

Try JPEG to PDF API for free!