Skip to content

enhance Return a buffer when producing PDF output via stdout#47

Open
isdampe wants to merge 3 commits intozapolnoch:masterfrom
isdampe:master
Open

enhance Return a buffer when producing PDF output via stdout#47
isdampe wants to merge 3 commits intozapolnoch:masterfrom
isdampe:master

Conversation

@isdampe
Copy link

@isdampe isdampe commented May 29, 2025

Currently, there's no way to reliably use the PDF output without writing to disk and then re-reading it.

This PR modifies behaviour to return a Buffer by default if and only if

  • The "pdf" preset is present
  • No tessdata-dir has been supplied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant