Skip to content

Commit

Permalink
- add close code pdf file
Browse files Browse the repository at this point in the history
  • Loading branch information
maycuatroi committed Jun 30, 2023
1 parent 0838dfb commit e844f22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions evoflow/entities/data_manipulate/file_operator/pdf_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,6 @@ def to_full_image(self, dpi=200) -> ImageFile:

full_image.data = np.concatenate([mat1, mat2], axis=0)
return full_image

def close(self):
self.data.close()

0 comments on commit e844f22

Please sign in to comment.