View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
15355Bug reportsImport/Exportpublic2025-11-20 16:17
Reportergabrieljenik Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status resolvedResolutionfixed 
Product Version3.18.0 
Summary15355: TCPDF doesn't remove temporary files used for images
Description

When embedding images on TCPDF, temporary files are not cleaned up after.

This gets worst when using windows, as there seems to be some FS degradation after 60k files on a temp folder.
Writting temp files gets pretty slow. 20secs.
https://stackoverflow.com/questions/58186890/php-tcpdf-emebdding-images-is-very-slow?noredirect=1#comment102783928_58186890

On this link it says changing the TCPDF version could be a solution.
https://www.drupal.org/project/tcpdf/issues/2700117

Steps To Reproduce

Use logo on PDF, on XAMP.
Use it a lot :)

This was a situation pretty specific to the customer as he was using a massive PDF printing script, reusing LS libraries.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)Version 3.14.8+180829
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql
Server OS (if known)
Webserver software & version (if known)
PHP VersionPHP Version 5.6.37

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2025-11-20 16:17

administrator   ~83873

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=39237

Related Changesets

LimeSurvey: master bedb48e7

2025-11-20 16:17

c_schmitz


Details Diff
Fixed issue 15355: TCPDF doesn't remove temporary files used for images
Dev Now uses the LimeSurvey temp directory which is regularly emptied
Affected Issues
15355
mod - application/libraries/admin/pdf.php Diff File

Issue History

Date Modified Username Field Change
2019-10-02 17:59 gabrieljenik New Issue
2025-11-19 18:41 c_schmitz Assigned To => c_schmitz
2025-11-19 18:41 c_schmitz Status new => assigned
2025-11-20 16:17 c_schmitz Changeset attached => LimeSurvey master bedb48e7
2025-11-20 16:17 c_schmitz Note Added: 83873
2025-11-20 16:17 c_schmitz Status assigned => resolved
2025-11-20 16:17 c_schmitz Resolution open => fixed
2025-11-20 16:17 c_schmitz Bug heat 0 => 2