Image to PDF Command line Reference

Conversion from an image to PDF.

image2pdf [options] SOURCE
pdfcrowd image2pdf [options] SOURCE
image2pdf auth ACTION
image2pdf help [TOPIC|OPTION|CATEGORY]

Commands and Options

Conversion Input

SOURCE

Supply exactly one input source:

  • URL: an HTTP(S) URL.
  • File: the path to an existing local input file.
  • Standard input: - reads input bytes from a pipe or redirection.

Options may appear before or between sources. Use -- before a file name that starts with a dash.

Examples:
  • URL: image2pdf --output result.pdf https://example.com/input.png
  • Local file: image2pdf --output result.pdf input.png
  • Standard input: image2pdf --output result.pdf - < input.png

Output

Results go to standard output by default. Binary output requires a file, pipe, or redirection; only pdf2text writes directly to a terminal. Some converters produce ZIP archives containing their results. Diagnostics use standard error.

--output, -o FILE

Save the result to FILE. Use - for standard output.

An existing output file is replaced only after a successful conversion.

To send binary results to standard output, redirect them to a file or pipe them to another program.

Default:
standard output
Example:
  • image2pdf --output FILE SOURCE

Configuration

If the default configuration file exists, conversions read it automatically. Conversions never save settings automatically. Run image2pdf help configuration to see the default file path. --config and --no-config are mutually exclusive.

Use a UTF-8 INI file with option-name = value lines and no [section] headings. Use the option names with hyphens and without leading dashes, for example debug-log instead of --debug-log. Lines starting with # or ; are comments.

Inline values can span multiple lines when each continuation line is indented more than the setting name. A blank line ends the value. Use a separate file for content that needs blank lines or exact formatting.

--config PATH

Read conversion defaults from PATH instead of the default file.

Command-line options override the settings in this file. This option applies to conversion settings; credentials are stored separately.

Examples:
  • image2pdf --config PATH --output FILE SOURCE
  • image2pdf --config ./defaults.ini -o result SOURCE

--no-config

Ignore saved conversion defaults for this command.

Command-line conversion options still apply. Saved credentials and environment variables still apply. The config file is left unchanged.

Example:
  • image2pdf --no-config --output FILE SOURCE

--init-config

Create a commented config file that you can edit.

Open the created file and remove the leading # from settings you want to use. Future conversions read the default file automatically.

Use --config PATH to create a file at another location. An existing file is left unchanged. This command does not perform a conversion.

Examples:
  • image2pdf --init-config [--config PATH]
  • image2pdf --init-config
  • image2pdf --init-config --config ./defaults.ini

--show-config

Show saved defaults and command-line overrides without converting.

Each setting shows whether it came from the config file or the command line. Other options use their API defaults.

Sensitive values and inline HTML, CSS, and JavaScript are hidden. No files are changed.

Examples:
  • image2pdf --show-config [options]
  • image2pdf --show-config
  • image2pdf --no-config --show-config

Authentication

For account setup and credential selection, see Authentication.

auth ACTION

Manage credentials shared by all converter commands.

ACTION: Choose login, status, or logout.

Usage:
image2pdf auth ACTION
pdfcrowd auth ACTION

auth login [--non-interactive]

Save your PDFCrowd username and API key for all converter commands.

Use both credential environment variables when set; otherwise prompt in an interactive terminal. The API-key prompt hides your input.

In a script, use --non-interactive to require environment credentials without prompting. This saves the account; it does not perform a conversion.

Usage:
image2pdf auth login [--non-interactive]
pdfcrowd auth login [--non-interactive]
auth login --non-interactive

This option applies only to auth login.

Require environment credentials when saving an account with auth login; never prompt.

Set both PDFCROWD_USERNAME and PDFCROWD_API_KEY before running this command. The account is saved for all converters. Missing credentials cause an error.

Example:
  • image2pdf auth login --non-interactive

auth status

Show which credentials will be used without revealing the API key.

This reads local settings; it does not verify the account with PDFCrowd.

Usage:
image2pdf auth status
pdfcrowd auth status

auth logout

Remove the saved account for all converter commands.

Credential environment variables still apply when set.

Usage:
image2pdf auth logout
pdfcrowd auth logout

Help and Version

help [TOPIC|OPTION|CATEGORY]

Show offline help for this converter.

Help does not load saved settings or credentials and does not contact the service.

TOPIC|OPTION|CATEGORY: Omit the argument for an overview. Supply one topic, option name (with or without --), or conversion category ID.

  • all: List every option.
  • categories: List help topics and conversion option groups.
  • syntax: Explain how to supply arguments.
  • configuration: Save and load conversion defaults.
  • authentication: Set up your PDFCrowd account.
  • input-output: Read inputs and save results.
  • exit-codes: Check whether a command succeeded.
Usage:
image2pdf help [TOPIC|OPTION|CATEGORY]
pdfcrowd help image2pdf [TOPIC|OPTION|CATEGORY]
Examples:
  • image2pdf help all
  • image2pdf help categories
  • image2pdf help --output
help --json

This option applies only to help.

Print help as JSON for scripts, integrations, and AI agents.

Includes option names, argument types, defaults, allowed values, authentication rules, and exit codes. Works offline.

Example:
  • image2pdf help --json

--help, -h

Show a summary of commands and options.

Use help all for every option, or help OPTION for details.

Example:
  • image2pdf --help

--version, -V

Show the PDFCrowd CLI version.

Example:
  • image2pdf --version

Image Operations

--resize

Scale the image to different dimensions. Accepts percentage values for proportional scaling or explicit pixel dimensions for absolute sizing.

Syntax:
--resize RESIZE
Default:
100%
Examples:
  • Enlarge for high-res display: "200%"
  • Standard XGA screen resolution: "1024x768"

--rotate

Rotate the image by the specified angle in degrees. Positive values rotate clockwise, negative values counterclockwise.

Syntax:
--rotate ROTATE

--crop-area-x

Set the horizontal starting position of the crop area, measured from the left edge of the print area. Positive values offset inward from the left edge, negative values extend beyond the left boundary.

Syntax:
--crop-area-x X
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Default:
0px
Examples:
  • Crop extends beyond left edge: "-1in"
  • Skip narrow border area: "10mm"

--crop-area-y

Set the vertical starting position of the crop area, measured from the top edge of the print area. Positive values offset inward from the top edge, negative values extend beyond the top boundary.

Syntax:
--crop-area-y Y
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Default:
0px
Examples:
  • Crop extends beyond top edge: "-1in"
  • Skip narrow border area: "10mm"

--crop-area-width

Set the horizontal extent of the crop area. Defines the width of the region to be converted. Minimum value is 1 inch.

Syntax:
--crop-area-width WIDTH
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Default:
The width of the print area.
Examples:
  • Standard document crop width: "8in"
  • Full A4 page width crop: "210mm"

--crop-area-height

Set the vertical extent of the crop area. Defines the height of the region to be converted. Minimum value is 1 inch.

Syntax:
--crop-area-height HEIGHT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Default:
The height of the print area.
Examples:
  • Standard US Letter crop height: "11in"
  • Full A4 page height crop: "297mm"

--crop-area

Define a rectangular region to convert by setting X/Y position and width/height simultaneously. Coordinates are relative to the print area's top-left corner.

Syntax:
--crop-area X Y WIDTH HEIGHT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.

--remove-borders

Detect and remove solid-color borders surrounding the image content. Only removes borders that consist of a single consistent color.

Syntax:
--remove-borders[=true|false]
Default:
false
Allowed Values:
  • true
  • false

Page Setup

--page-size

Set the output page size. Use standard sizes (A4, Letter, A3, etc.) for printable output with consistent dimensions.

Syntax:
--page-size SIZE
Allowed Values:
  • A0
  • A1
  • A2
  • A3
  • A4
  • A5
  • A6
  • Letter

--page-width

Set the output page width.

Syntax:
--page-width WIDTH
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • A4 landscape / A3 portrait width: "297mm"
  • US Letter/Legal standard width: "8.5in"

--page-height

Set the output page height.

Syntax:
--page-height HEIGHT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • A3 standard height for posters: "420mm"
  • US Letter standard height: "11in"

--page-dimensions

Set the output page dimensions. If no page size is specified, margins are applied as a border around the image.

Syntax:
--page-dimensions WIDTH HEIGHT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • A4 portrait dimensions: "210mm", "297mm"
  • US Letter dimensions: "8.5in", "11in"
  • A3 portrait dimensions: "297mm", "420mm"

--orientation

Set the output page orientation. Use portrait for standard documents, landscape for wide content like tables.

Syntax:
--orientation ORIENTATION
Default:
portrait
Allowed Values:
  • landscape
  • portrait

--position

Set the image position on the page. Center for balanced layout, or corner/edge positions for specific design needs.

Syntax:
--position POSITION
Default:
center
Allowed Values:
  • center
  • top
  • bottom
  • left
  • right
  • top-left
  • top-right
  • bottom-left
  • bottom-right

--margin-top

Set the output page top margin.

Syntax:
--margin-top TOP
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • Wide margin for framing: "1in"
  • Narrow margin: "10mm"

--margin-right

Set the output page right margin.

Syntax:
--margin-right RIGHT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • Wide margin for framing: "1in"
  • Narrow margin: "10mm"

--margin-bottom

Set the output page bottom margin.

Syntax:
--margin-bottom BOTTOM
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • Wide margin for framing: "1in"
  • Narrow margin: "10mm"

--margin-left

Set the output page left margin.

Syntax:
--margin-left LEFT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Examples:
  • Wide margin for framing: "1in"
  • Narrow margin: "10mm"

--page-margins

Set the output page margins. Control white space for readability, binding clearance, or print requirements.

Syntax:
--page-margins TOP RIGHT BOTTOM LEFT
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.
Constraint:
  • The value must be specified in inches 'in', millimeters 'mm', centimeters 'cm', pixels 'px', or points 'pt'.

--page-background-color

The page background color in RGB or RGBA hexadecimal format. The color fills the entire page regardless of the margins. If no page size is specified and the image format supports background (e.g. PDF, PNG), the background color is applied too.

Syntax:
--page-background-color COLOR
Constraint:
  • The value must be in RRGGBB or RRGGBBAA hexadecimal format.
Examples:
  • red color: "FF0000"
  • green color: "00ff00"
  • green color with 50% opacity: "00ff0080"

--dpi

Set the DPI resolution of the input image. The DPI affects margin options specified in points too (e.g. 1 point is equal to 1 pixel in 96 DPI).

Syntax:
--dpi DPI
Default:
96
Example:
  • The DPI used for printers. 1 inch contains 300 points: 300

Watermark & Background

--page-watermark

Apply the first page of a watermark PDF to every page of the output PDF. Use this to add transparent overlays like "DRAFT" stamps, security markings, or branding elements that appear on top of content. Use this to mark confidential documents.

Syntax:
--page-watermark WATERMARK
Constraint:
  • The file must exist and not be empty.
Examples:
  • Multi-page PDF for watermarking: "/home/user/john/watermark.pdf"
  • Transparent PNG overlay: "/home/user/john/watermark.png"

--page-watermark-url

Load a file from the specified URL and apply the file as a watermark to each page of the output PDF. A watermark can be either a PDF or an image. If a multi-page file (PDF or TIFF) is used, the first page is used as the watermark.

Syntax:
--page-watermark-url URL
Constraint:
  • Supported protocols are http:// and https://.
Examples:
  • Download watermark from server: "http://myserver.com/watermark.pdf"
  • Remote logo watermark: "http://myserver.com/watermark.png"

--multipage-watermark

Apply each page of a watermark PDF to the corresponding page of the output PDF. Use this for page-specific watermarks where different pages need different overlays - for example, different approval stamps per department.

If the watermark has fewer pages than the output, the last watermark page is repeated for remaining pages.

Syntax:
--multipage-watermark WATERMARK
Constraint:
  • The file must exist and not be empty.
Examples:
  • Multi-page PDF for watermarking: "/home/user/john/watermark.pdf"
  • Transparent PNG overlay: "/home/user/john/watermark.png"

--multipage-watermark-url

Load a file from the specified URL and apply each page of the file as a watermark to the corresponding page of the output PDF. A watermark can be either a PDF or an image.

Syntax:
--multipage-watermark-url URL
Constraint:
  • Supported protocols are http:// and https://.
Examples:
  • Download watermark from server: "http://myserver.com/watermark.pdf"
  • Remote logo watermark: "http://myserver.com/watermark.png"

--page-background

Apply the first page of a background PDF to every page of the output PDF. Use this to add letterheads, branded templates, or decorative backgrounds that appear behind your content. Backgrounds appear beneath content, while watermarks layer on top.

Syntax:
--page-background BACKGROUND
Constraint:
  • The file must exist and not be empty.
Examples:
  • PDF template background: "/home/user/john/background.pdf"
  • Image texture background: "/home/user/john/background.png"

--page-background-url

Load a file from the specified URL and apply the file as a background to each page of the output PDF. A background can be either a PDF or an image. If a multi-page file (PDF or TIFF) is used, the first page is used as the background.

Syntax:
--page-background-url URL
Constraint:
  • Supported protocols are http:// and https://.
Examples:
  • Download template background: "http://myserver.com/background.pdf"
  • Remote background pattern: "http://myserver.com/background.png"

--multipage-background

Apply each page of a background PDF to the corresponding page of the output PDF. Use this for page-specific backgrounds where each page needs a different template - for example, different letterheads for front and back pages.

If the background has fewer pages than the output, the last background page is repeated for remaining pages.

Syntax:
--multipage-background BACKGROUND
Constraint:
  • The file must exist and not be empty.
Examples:
  • PDF template background: "/home/user/john/background.pdf"
  • Image texture background: "/home/user/john/background.png"

--multipage-background-url

Load a file from the specified URL and apply each page of the file as a background to the corresponding page of the output PDF. A background can be either a PDF or an image.

Syntax:
--multipage-background-url URL
Constraint:
  • Supported protocols are http:// and https://.
Examples:
  • Download template background: "http://myserver.com/background.pdf"
  • Remote background pattern: "http://myserver.com/background.png"

PDF Format

--linearize

Create linearized PDF. This is also known as Fast Web View. Use this to optimize PDFs for progressive download, allowing users to start viewing the first page while the rest downloads.

Syntax:
--linearize[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--encrypt

Encrypt the PDF to prevent search engines from indexing the contents and add an extra layer of security. Use this for confidential documents, internal reports, or any content you do not want appearing in search results.

Combine with a password to require authentication for viewing, or just use encryption alone to prevent indexing while keeping the PDF publicly readable.

Syntax:
--encrypt[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--user-password

Protect the PDF with a user password to restrict who can open and view the document. Recipients must enter this password to view the PDF. Use this for confidential documents, sensitive data, or content distribution where you want to control access.

Combine with permission flags to restrict what users can do after opening.

Syntax:
--user-password PASSWORD
Example:
  • Simple document password: "123456"

--owner-password

Protect the PDF with an owner password for administrative control. This password allows changing permissions, passwords, and document restrictions - like a master key. Use different user and owner passwords to give recipients restricted access while retaining full control.

The owner password should be kept confidential and different from the user password.

Syntax:
--owner-password PASSWORD
Example:
  • Admin access password: "123456"

--no-print

Disallow printing of the output PDF to protect sensitive content. Use this for confidential documents, copyrighted materials, or preview versions you want to restrict.

Syntax:
--no-print[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--no-modify

Disallow modification of the output PDF to maintain document integrity. Use this for official documents, contracts, or records that should not be altered after creation. Prevents recipients from editing content, adding annotations, or extracting pages.

Syntax:
--no-modify[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--no-copy

Disallow text and graphics extraction from the output PDF to protect copyrighted content. Use this for ebooks, proprietary documents, or materials where you want to prevent easy copying and redistribution.

Syntax:
--no-copy[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--title

Set the title of the PDF that appears in PDF reader title bars and document properties. Use descriptive titles for better organization and searchability in document management systems.

This metadata helps users identify documents when multiple PDFs are open and improves accessibility for screen readers.

Syntax:
--title TITLE
Example:
  • Personal CV title: "My Resume"

--subject

Set the subject of the PDF to categorize or summarize the document content. Use this to add searchable metadata for document management systems, improve organization in large PDF libraries, or provide context about the document's purpose.

Appears in PDF properties dialog.

Syntax:
--subject SUBJECT
Example:
  • Technical position subject: "CV - Software Developer"

--author

Set the author of the PDF for attribution and document tracking. Use this to identify who created the document, important for official documents, reports, or publications.

This metadata appears in PDF properties and helps with document management and version control.

Syntax:
--author AUTHOR
Example:
  • Document author name: "John Doe"

--keywords

Associate keywords with the document to improve searchability in document management systems. Use relevant terms that describe the content, making it easier to find documents later.

Separate multiple keywords with commas. Particularly useful for large document repositories or DAM systems.

Syntax:
--keywords KEYWORDS
Example:
  • Technical skills for searchability: "software developer, Unix, databases"

--attachment

Embed a file as an attachment in the output PDF. Call this method repeatedly to attach several files.

Availability:
Converter >= 24.04. See versioning.
Syntax:
--attachment ATTACHMENT
Repeated values:
Repeat this option to supply more than one value.
Constraint:
  • The file must exist and not be empty.

Viewer Preferences

--page-layout

Control how pages appear when the PDF opens in viewers that respect these preferences. "single-page" for focused reading one page at a time. "one-column" for continuous scrolling like a web page. "two-column-left" for book-like layouts with odd pages on left (international standard). "two-column-right" for magazines with odd pages on right.

Syntax:
--page-layout LAYOUT
Allowed Values:
  • single-page — Display one page at a time.
  • one-column — Display the pages in one column.
  • two-column-left — Display the pages in two columns, with odd-numbered pages on the left.
  • two-column-right — Display the pages in two columns, with odd-numbered pages on the right.

--page-mode

Control the initial display mode when the PDF opens. "full-screen" for presentations and kiosk displays where you want an immersive experience. "thumbnails" for long documents where visual page navigation is helpful. "outlines" for structured documents with bookmarks/table of contents.

Syntax:
--page-mode MODE
Allowed Values:
  • full-screen — Full-screen mode.
  • thumbnails — Thumbnail images are visible.
  • outlines — Document outline is visible.

--initial-zoom-type

Control how the PDF is initially zoomed when opened.

Syntax:
--initial-zoom-type ZOOM_TYPE
Allowed Values:
  • fit-width — The page content is magnified just enough to fit the entire width of the page within the window.
  • fit-height — The page content is magnified just enough to fit the entire height of the page within the window.
  • fit-page — The page content is magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.

--initial-page

Display the specified page when the document is opened.

Syntax:
--initial-page PAGE
Constraint:
  • Must be a positive integer.
Example:
  • Start at second page: 2

--initial-zoom

Specify the initial page zoom in percents when the document is opened.

Syntax:
--initial-zoom ZOOM
Constraint:
  • Must be a positive integer.
Example:
  • Half-size zoom level: 50

--hide-toolbar

Hide the viewer's toolbar when the PDF is opened to provide a cleaner, more focused reading experience. Use this for presentations, kiosk displays, or immersive reading where you want minimal UI distractions.

Syntax:
--hide-toolbar[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--hide-menubar

Hide the viewer's menu bar when the PDF is opened for a cleaner interface. Use this for kiosk mode, presentations, or embedded PDFs where you want to minimize UI elements.

Syntax:
--hide-menubar[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--hide-window-ui

Hide user interface elements like scroll bars and navigation controls when the PDF opens. Use this for presentation mode, digital signage, or embedded PDFs where you want the most minimal interface possible.

Combines with other UI hiding options for full-screen immersive viewing.

Syntax:
--hide-window-ui[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--fit-window

Resize the PDF viewer window to fit the size of the first displayed page when opened. Use this to ensure the PDF opens at an appropriate size rather than filling the entire screen.

Particularly useful for small documents, forms, or certificates that look better at actual size.

Syntax:
--fit-window[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--center-window

Position the PDF viewer window in the center of the screen when opened.

Syntax:
--center-window[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--display-title

Display the title of the HTML document in the PDF viewer's title bar instead of the filename. Use this to show more descriptive titles when PDFs are opened - particularly useful when the filename is cryptic or auto-generated.

Improves user experience by showing meaningful document names.

Syntax:
--display-title[=true|false]
Default:
false
Allowed Values:
  • true
  • false

Miscellaneous

--debug-log

Turn on debug logging to troubleshoot conversion issues. Details about the conversion process, including resource loading, rendering steps, and error messages are stored in the debug log. Use this when conversions fail or produce unexpected results.

Syntax:
--debug-log[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--tag

Tag the conversion with a custom value for tracking and analytics. Use this to categorize conversions by customer ID, document type, or business unit. The tag appears in conversion statistics. A value longer than 32 characters is cut off.

Syntax:
--tag TAG
Example:
  • Track job in analytics: "client-1234"

--http-proxy

A proxy server used by the conversion process for accessing the source URLs with HTTP scheme. This can help circumvent regional restrictions or provide limited access to your intranet.

Syntax:
--http-proxy PROXY
Constraint:
  • The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
Examples:
  • Corporate proxy server: "myproxy.com:8080"
  • Direct IP proxy connection: "113.25.84.10:33333"

--https-proxy

A proxy server used by the conversion process for accessing the source URLs with HTTPS scheme. This can help circumvent regional restrictions or provide limited access to your intranet.

Syntax:
--https-proxy PROXY
Constraint:
  • The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
Examples:
  • Secure proxy for HTTPS: "myproxy.com:443"
  • Direct secure proxy IP: "113.25.84.10:44333"

API Client Options

--converter-version

Set the converter version. Different versions may produce different output. Choose which one provides the best output for your case.

Syntax:
--converter-version VERSION
Default:
24.04
Allowed Values:
  • 24.04 — Version 24.04.
  • 20.10 — Version 20.10.
  • 18.10 — Version 18.10.

--use-http

Specify whether to use HTTP or HTTPS when connecting to the PDFCrowd API.

Syntax:
--use-http[=true|false]
Default:
false
Allowed Values:
  • true
  • false

--client-user-agent

Specify the User-Agent HTTP header the CLI sends to the PDFCrowd API.

Syntax:
--client-user-agent AGENT
Default:
pdfcrowd_cli_client/1.1.0 (https://pdfcrowd.com)

--proxy

Specify an HTTP proxy the CLI uses to connect to the PDFCrowd API.

Syntax:
--proxy HOST PORT USER_NAME PASSWORD

--retry-count

Specify the number of automatic retries when a 502 or 503 HTTP status code is received. The status code indicates a temporary network issue. This feature can be disabled by setting to 0.

Syntax:
--retry-count COUNT
Default:
1
Example:
  • Retry failed requests three times: 3