GDBook 0.1, a free text to image converter
I hacked together a small text to image converter for converting ebooks. Some devices that can be used as ebook readers will only display images (PSP, Juice Box). Although theoretically it is possible to write real ebook reading software for these devices, for now my GDBook program might help.
GDBook 0.1 is written in PHP, and intended to be run from the command line. It will save image files to your local file system. It does not take arguments: you need to edit the program file to change the settings.
Yes, that’s rather barbaric, but since I do not own a Juice Box or a PSP, I am not likely to develop this program further. GDBook is GPLed, so please take on its development if you like.
Things that I think GDBook does better than the competition:
- No JPEG
- Regular line endings (broken at word boundaries)
Things that JPEGBook does better:
- Slick interface
- Page numbers
- Image backgrounds
GDLib comes standard with the MS Windows binaries for PHP, but is not installed. The GDLib web site explains how to install it. Keep in mind that the extension name in the php.ini file should be the same as in your extensions directory: on my system the two differed.
Known bug: when a paragraph ends in a wide line, some of the text may spill over the border and even off the page.