Last updated
Last updated
Deep Image API supports optimizing image resolution for specific paper size.
Let's check the example:
A5 paper size is 5.83 x 8.27 inches. Our api-example.png has 640x427 pixels.
DPI 150 means that image has to have at least 150 points/pixels per inch so image will be upscaled to 874x1240 pixels.
By default desired width and height values are reoriented to match print size orientation.
print_size
Name of the paper size format, f.e. A4, B0, letter, etc.
dpi
Integer value for DPI - 300 by default
print_reorientation
true/false - swap target width and height values to match paper size orientation. true by default