MCPcopy
hub / github.com/ArtifexSoftware/pdf2docx / _restore_float_images

Method _restore_float_images

pdf2docx/page/Page.py:205–211  ·  view source on GitHub ↗

Restore float images.

(self, raws:list)

Source from the content-addressed store, hash-verified

203
204
205 def _restore_float_images(self, raws:list):
206 '''Restore float images.'''
207 self.float_images.reset()
208 for raw in raws:
209 image = ImageBlock(raw)
210 image.set_float_image_block()
211 self.float_images.append(image)

Callers 1

restoreMethod · 0.95

Calls 4

ImageBlockClass · 0.90
resetMethod · 0.80
set_float_image_blockMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected