Forked Version of (https://github.com/hmemcpy/kindleanpub) for ready made script to run in Windows 10 64bit
A small shell script that fixes garbled/broken image rendering on (older) Kindle devices of PDFs due to some issue with Kindle's method of processing PNG files.
Using Ghostscript, this script will convert all images inside the PDF to JPEG using highest quality conversion.
This will result in smaller output PDF size, and will make the images render properly on older Kindles (e.g. Kindle DX)
-
Drop your input.pdf inside the repo folder
-
Open wsl in Windows and navigate to the folder then execute
$ ./pdfix.sh input.pdf
-
Will produce a file
input-fixed.pdf
in the same directory.
Before (11.1MB) | After (7.23MB) |
---|---|
![]() |
![]() |