We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b332f81 commit 572db02Copy full SHA for 572db02
camelot/backends/pdfium_backend.py
@@ -41,3 +41,5 @@ def convert(self, pdf_path: str, png_path: str, resolution: int = 300) -> None:
41
doc.init_forms()
42
image = doc[0].render(scale=resolution / 72).to_pil()
43
image.save(png_path)
44
+ image.close()
45
+ doc.close()
0 commit comments