pyfpdf icon indicating copy to clipboard operation
pyfpdf copied to clipboard

Fixed JPEGs not being closed correctly

Open nimaid opened this issue 4 years ago • 1 comments

Currently, when a JPEG image() is added to a PDF, the file is not properly closed. This prevents modifying the files until the entire program has quit. This pull request essentially changes 1 line in order to properly close JPEG files once they are done being used by PyFPDF.

nimaid avatar Jul 04 '20 19:07 nimaid

Note the that this bug has been fixed in fpdf2

Lucas-C avatar Jan 06 '21 10:01 Lucas-C