Skip to content
Generating Proj. Gutenberg ebook covers using illustrations inside them
Processing
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
output
.gitignore
LICENSE
README.md
cover_jane_eyre.small.png
cover_jungle_book.small.png
cover_tale.small.png
imagecoverp5tint.pde
test-book.json

README.md

Project Gutenberg eBook Cover Generator

Built with Processing

Read about this in more detail in this blog post.

Requirements

You can add these libraries via the Processing package manager:

Sketch ⟶ Import Library ⟶ Add Library…

Command-line use

You can run this program in an arbitrary book as long as you properly describe it as shown in test-book.json. The JSON file must be only one line.

Usage

Export the stand-alone Linux (32 or 64-bit) application from Processing via File > Export Application and run the resulting binary using:

./imagecoverp5tint /path/to/images/with/trailing/slash/ /path/to/output/folder/with/trailing/slash/ /path/to/book.json title_font_file-size.vlw author_font_file-size.vlw

The VLW font files must conform to the specified name-size.vlw convention so that the application knows what size to apply when running. You create your own fonts via the Tools > Create Font... dialog.

Generated covers are output to the provided folder creating a book-id/ subfolder and putting the covers there in PNG format.

Example output

Example Example Example Example Example Example Example Example

License

See LICENSE

You can’t perform that action at this time.