You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't so much an issue as a comment, feel free to close it.
Similar to this issue, what I was trying to do was:
determine the page size (in point) from the dimensions of a scanned image
set everything proportionate to the page size
Unfortunately my scanned images are all done at 300dpi. This means when proportionally sizing the page, it gets up over 10000 points in size.
Proportional fonts get scaled up to over 1500 points in size (at which point they won't display). Inserted images will stretch no matter what.
In PDF land, 72 points (per inch ...) is the standard when looking at things like page sizes. For example, an A4 portrait page is 595x842 points (see: here). So, instead of increasing the size of everything, I decreased it in proportion to the difference between the given dpi of the scanned image and 72.
This isn't so much an issue as a comment, feel free to close it.
Similar to this issue, what I was trying to do was:
Unfortunately my scanned images are all done at 300dpi. This means when proportionally sizing the page, it gets up over 10000 points in size.
Proportional fonts get scaled up to over 1500 points in size (at which point they won't display). Inserted images will stretch no matter what.
In PDF land, 72 points (per inch ...) is the standard when looking at things like page sizes. For example, an A4 portrait page is 595x842 points (see: here). So, instead of increasing the size of everything, I decreased it in proportion to the difference between the given dpi of the scanned image and 72.
In practice this looks like:
So when translating given (pixel) dimensions, you just pass it through the function.
Sorry if this is really obvious, it took me a while to get my head around it.
The text was updated successfully, but these errors were encountered: