The invert_proclaim
script takes a PDF of
Proclaim slides and inverts the colours in each
slide if it's more dark than light. A new PDF is created from the inverted
slides with either six slides or one slide per page.
A Shell script is available for Linux and Mac OS and a PowerShell script for Windows.
invert_proclaim
depends on:
pdfimages
from either Poppler or the Xpdf command line tools- ImageMagick
Just download either invert_proclaim.sh
(Linux or Mac OS) or
invert_proclaim.ps1
(Windows). No special installation is required.
Edit the Script file and ensure the dependency paths are set correctly.
- Print the Proclaim slides from the web interface as a PDF, which will give you lots of slides per page.
- Under Linux or Mac OS:
- Run
./invert_proclaim.sh <proclaimslides.pdf> [6up]
- Including
6up
on the command-line will output the presentation 6 slides per page, otherwise one slide is output per page.
- Run
- Under Windows
- Right click on
invert_proclaim.ps1
and select "Run with PowerShell". - A file selection dialog box will open so you can choose your PDF file that you just made.
- Set
$6up
in the script to$true
to output six slides per page.
- Right click on
- The conversion can take a little while, so just wait a bit.
- Slides are inverted if they are more dark than light, otherwise they are left the same.
- Once finished the inverted PDF will be placed in the same directory as the original PDF.
- The PowerShell script opens the new PDF for you.
Copyright (c) 2022-2024, David Purton <dcpurton@marshwiggle.net>
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.