Print

Deep Image API supports optimizing image resolution for specific paper size.
Let's check the example:
{
"url": "https://deep-image.ai/api-example.png",
"print_size": "A5",
"dpi": 150
}
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.
Result is 1240x874 pixels
Parameter name
Description
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