Skip to content

Instantly share code, notes, and snippets.

View LightGuard's full-sized avatar

Jason Porter LightGuard

  • Mountain America Credit Union
  • Utah
  • 02:50 (UTC -06:00)
  • X @lightguardjp
View GitHub Profile
@mojavelinux
mojavelinux / slides2png.groovy
Created June 18, 2012 17:27
Export a dzslides presentation to PNGs, then combine into a PDF using geb
/**
* slides2png 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.
*
* @author Dan Allen