Enhancement
Speed up images in PDFs
Developer comments
Hmm. Here are some benchmarks, from fast to slow:
* gif: 0.003 s
* jpeg: 0.004 s
* bmp: 0.03 s
* png: 0.5 s (used frequently)
The time consuming process of generating the versions of the PNG suitable for embedding were always repeated since the cached product was deleted and too rigorously identfied. In our case this is not necessary. Patched TCPDF and now it is only slow on the first embedding of the respective image. After that it is as quick as the other formats.
Patched dompdf so that derivate images are reused and remain between requests.
|
Work sessions3
Start |
2024-11-02T20:19:47
|
End |
2024-11-02T20:52:48
|
Participant |
Robert Cerny
|
Start |
2024-11-03T09:22:23
|
End |
2024-11-03T12:35:49
|
Participant |
Robert Cerny
|
Start |
2024-11-05T09:30:29
|
End |
2024-11-05T12:44:16
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.