Conversion from PDF to image.
usage: pdf2image [options] source
Source to be converted. It can be URL, path to a local
file or '-' to use stdin as an input text.
Options
The format of the output file.
General Options
Password to open the encrypted PDF file.
Set the page range to print.
Constraint:
- A comma separated list of page numbers or ranges.
Examples:
-
Just the second page is printed.
"2"
-
The first and the third page are printed.
"1,3"
-
Everything except the first page is printed.
"2-"
-
Just first 3 pages are printed.
"-3"
-
Pages 3, 6, 7, 8 and 9 are printed.
"3,6-9"
Set the output graphics DPI.
Availability:
API client >= 5.16.0, converter >= 20.10.
See
versioning.
Enforces the zip output format.
Allowed values:
-
true, 1 or on
-
false, 0 or off
Default: False
Use the crop box rather than media box.
Allowed values:
-
true, 1 or on
-
false, 0 or off
Default: False
Set the top left X coordinate of the crop area in points.
Constraint:
- Must be a positive integer number or 0.
Default: 0
Set the top left Y coordinate of the crop area in points.
Constraint:
- Must be a positive integer number or 0.
Default: 0
Set the width of the crop area in points.
Constraint:
- Must be a positive integer number or 0.
Default: PDF page width.
Set the height of the crop area in points.
Constraint:
- Must be a positive integer number or 0.
Default: PDF page height.
Generate a grayscale image.
Allowed values:
-
true, 1 or on
-
false, 0 or off
Default: False
Miscellaneous
Turn on the debug logging. Details about the conversion are stored in the debug log. The URL of the log can be obtained from the
getDebugLogUrl method or available in
conversion statistics.
Allowed values:
-
true, 1 or on
-
false, 0 or off
Default: False
Tag the conversion with a custom value. The tag is used in
conversion statistics. A value longer than 32 characters is cut off.
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTP scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
Constraint:
- The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
Examples:
-
"myproxy.com:8080"
-
"113.25.84.10:33333"
A proxy server used by Pdfcrowd conversion process for accessing the source URLs with HTTPS scheme. It can help to circumvent regional restrictions or provide limited access to your intranet.
Constraint:
- The value must have format DOMAIN_OR_IP_ADDRESS:PORT.
Examples:
-
"myproxy.com:443"
-
"113.25.84.10:44333"