MCPcopy Index your code
hub / github.com/python-openxml/python-docx / horz_dpi

Method horz_dpi

src/docx/image/tiff.py:55–58  ·  view source on GitHub ↗

The horizontal dots per inch value calculated from the XResolution and ResolutionUnit tags of the IFD; defaults to 72 if those tags are not present.

(self)

Source from the content-addressed store, hash-verified

53
54 @property
55 def horz_dpi(self):
56 """The horizontal dots per inch value calculated from the XResolution and
57 ResolutionUnit tags of the IFD; defaults to 72 if those tags are not present."""
58 return self._dpi(TIFF_TAG.X_RESOLUTION)
59
60 @property
61 def vert_dpi(self):

Callers

nothing calls this directly

Calls 1

_dpiMethod · 0.95

Tested by

no test coverage detected