/imagecoverp5tint

Generating Proj. Gutenberg ebook covers using illustrations inside them

Primary LanguageProcessingMIT LicenseMIT

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