We are using convertAPI to convert webpages to PDF. One of our requierements is that the webpage content fits onto exactly one PDF page. We know the height of the page in pixels and are trying to convert that pixel value to a PageHeight parameter (specified in mm). Pixel to MM converters require a PPI argument to give an accurate value (see https://pixelsconverter.com/millimeters-to-pixels). What is the PPI used by ConvertAPI's system? In other words, If i have a div element with height 100px, what will the height of that element be in the result PDF in mm?
I've tried using some guess and check strategies for determining the PPI used, but this has been somewhat fruitless
Edit: adding more information I'm using a viewport size of 1900 x 1024. I know the exact height of my page in pixels (it's dynamic, but let's use 2048px for this example). I'm using the default PDF page width (216mm is default) and overriding the margin options to 0 for all. I'm looking to solve for the PageHeight parameter to send to ConvertAPI in mm. What is the conversion factor I need to translate my page height (2048px) into mm?