Repository navigation
Default DPI when using get_pixmap #3852
Unanswered
gabe-zhang
asked this question in
Q&A
Replies: 1 comment
|
Hi, I had the same question and checked the get_pixmap source code: If dpi is not set, get_pixmap use the default identity matrix (1, 1), which is equivalent when setting dpi = 72, so I think it is safe to assume that default rendering dpi is 72. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi community, I wonder what is the default DPI when using the
get_pixmap()method to get the pixel matrix?The document shows that the default value is None:
get_pixmap(*, matrix=pymupdf.Identity, dpi=None, colorspace=pymupdf.csRGB, clip=None, alpha=False, annots=True).How it was calculated? Thanks!
All reactions