Electric Book media
This is a template repo for storing images separately from an Electric Book project. This is useful when your book contains many images, and would make the main project repo too big.
In particular, see the docs on using external media.
We use the task runner Gulp for these tasks. You can run
gulp to generate smaller, optimised, version of the images in the
book/images/print-pdf directory and automatically put them into the
First, we need to install Gulp, NodeJS (which Gulp requires), and GraphicsMagick (which we need behind the scenes for the image resizing).
Install Gulp and our dependencies
From the terminal / command line run
npm install gulp-cli -g to install gulp. This installs gulp on your system.
Once that's finished run
npm install to install the dependencies we need, listed in
Head to the downadload secrion of graphicsmagick.org and download and install GraphicsMagick for your system. Use the Q16 version for best results with colour conversions.