Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Humble Bundle PDF support #680

Open
axu2 opened this issue Feb 28, 2024 · 0 comments
Open

Add Humble Bundle PDF support #680

axu2 opened this issue Feb 28, 2024 · 0 comments
Labels
dependencies Pull requests that update a dependency file Enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@axu2
Copy link
Collaborator

axu2 commented Feb 28, 2024

Humble Bundle PDFs are vectors and text-based text, not images. They are also much higher quality that the epub and cbz provided.

image

But you can use mutool to convert the HQ pdf to HQ CBZ. I use 1920 since that's the height for kindle scribe, but you should do whatever your kindle height is.

Windows:

winget install --id=ArtifexSoftware.mutool  -e
for %%I in (*) do mutool convert -O height=1920 -o "%%~nI.cbz" "%%~nI.pdf"

macOS:

brew install mupdf-tools
for f in *.pdf; do mutool convert -O height=1920 -o ${f%%.*}.cbz $f; done

https://www.reddit.com/search/?q=kindle%20mutool

https://mupdf.readthedocs.io/en/latest/mutool-convert.html

This is probably a better idea than adding epub support in

Example converted png from pdf:
p0008

@axu2 axu2 added Enhancement New feature or request Question Further information is requested help wanted Extra attention is needed dependencies Pull requests that update a dependency file good first issue Good for newcomers labels Feb 28, 2024
@axu2 axu2 removed the Question Further information is requested label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant