mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[GH-ISSUE #14526] issue: pdf export excessive size #55955
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erickeller on GitHub (May 30, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14526
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.13
Ollama Version (if applicable)
No response
Operating System
Ubuntu lts 24.04
Browser (if applicable)
Chrome 136.0.7103.125
Confirmation
README.md.Expected Behavior
While using the pdf exporter feature the resulting file is excessively heavy e.g. ~30 MB pdf. This shall be less than 100kB for only text of a small output.
I guess there is no proper compression and will try to pipe it to pdf2ps and ps2pdf to check on the size reduction.
I attached an example of the boilerplate prompt which results in 29MB pdf
Actual Behavior
Way too large pdf file for only text export.
Could not upload it to GitHub here is an example pdf.
https://we.tl/t-vA5qZZfmqx
Steps to Reproduce
Use open webui export to pdf feature on a simple boilerplate prompt
Logs & Screenshots
N.A.
Additional Information
No response
@Classic298 commented on GitHub (May 30, 2025):
can reproduce.
a singular message and a singular response sometimes come out to 80 MB for me
@tjbck commented on GitHub (May 31, 2025):
PR welcome!