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

Method px_height

src/docx/image/tiff.py:67–71  ·  view source on GitHub ↗

The number of stacked rows of pixels in the image, |None| if the IFD contains no ``ImageLength`` tag, the expected case when the TIFF is embeded in an Exif image.

(self)

Source from the content-addressed store, hash-verified

65
66 @property
67 def px_height(self):
68 """The number of stacked rows of pixels in the image, |None| if the IFD contains
69 no ``ImageLength`` tag, the expected case when the TIFF is embeded in an Exif
70 image."""
71 return self._ifd_entries.get(TIFF_TAG.IMAGE_LENGTH)
72
73 @property
74 def px_width(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected