This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* slides2png is a Groovy script that plays a dzslides presentation using | |
* WebDriver, captures each slide to a PNG and generates a shell script to | |
* collate the PNGs together into a PDF using convert (from ImageMagick). | |
* | |
* The URL of the presentation is passed as the sole argument to the script. | |
* If the presentation is local, specify the absolute path prefixed with the | |
* file:// protocol. | |
* | |
* slides2png relies on IMAGE_MAGICK_HOME environment variable pointing to |