The address of the image to convert.
Constraint:
- The supported protocols are http:// and https://.
The path to a local file to convert.
Constraint:
- The file must exist and not be empty.
The format of input file.
The format of the output file.
Response
The file name of the created file (max 180 chars). If not specified then the name is auto-generated.
The value of the Content-Disposition HTTP header sent in the response.
Image Operations
Settings used for operations with images.
Set the top left X coordinate of the content area. It is relative to the top left X coordinate of the print area.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Default: 0px
Set the top left Y coordinate of the content area. It is relative to the top left Y coordinate of the print area.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Default: 0px
Set the width of the content area. It should be at least 1 inch.
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.
Set the height of the content area. It should be at least 1 inch.
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.
Remove borders of an image which does not change in color.
Allowed values:
-
true, 1 or on
-
false, 0 or off
Default: false
Canvas Setup
Set the output canvas size.
Allowed values:
-
A0
-
A1
-
A2
-
A3
-
A4
-
A5
-
A6
-
Letter
Set the output canvas width.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Set the output canvas height.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Set the output canvas orientation.
Set the image position on the canvas.
Allowed values:
-
center
-
top
-
bottom
-
left
-
right
-
top-left
-
top-right
-
bottom-left
-
bottom-right
Default: center
Set the mode to print the image on the canvas.
Set the output canvas top margin.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Set the output canvas right margin.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Set the output canvas bottom margin.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
Set the output canvas left margin.
Constraint:
- The value must be specified in inches "in", millimeters "mm", centimeters "cm", pixels "px", or points "pt".
The canvas background color in RGB or RGBA hexadecimal format. The color fills the entire canvas regardless of margins. If no canvas size is specified and the image format supports background (e.g. PDF, PNG), the background color is applied too.
Constraint:
- The value must be in RRGGBB or RRGGBBAA hexadecimal format.
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).
Miscellaneous
Turn on the debug logging. Details about the conversion are stored in the debug log. The URL of the log is returned in the x-pdfcrowd-debug-log response header 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