mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 07:43:10 -05:00
issue: Client-Side PDF Generation creates huge ( 10MB per page) PDF files with images instead of text #4714
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 @TheMasterFX on GitHub (Apr 4, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.0
Ollama Version (if applicable)
0.64
Operating System
Linux
Browser (if applicable)
Chrome, Edge, Firefox
Confirmation
README.md.Expected Behavior
The exported PDF files includes the Text as selectable Text and not images only. File size should be relatively small when only text is in the chat.
Actual Behavior
The exported PDF is around 10 MB per page. The text could not be selected since it is basically a screendump.
Steps to Reproduce
Logs & Screenshots
Firefox-Console output
Additional Information
No response
@Classic298 commented on GitHub (Apr 4, 2025):
I'd also like to note that it seems as it just prints the entire website into a pdf, at least from the looks of it.
Instead of exporting a nicely formatted markdown file with the individual responses, which would be preferrable and would probably also fix the file size issue.
@tjbck commented on GitHub (Apr 4, 2025):
Open to reviewing PRs but the current behaviour should be the default.