Link Search Menu Expand Document

Optional Software

Software in this section is optional and will not be used by CollectionBuilder-GH or -Sheets projects. If you want to use Rake tasks to batch process PDF and image files for CollectionBuilder-CSV, this software is required!

Most (but not all!) CollectionBuilder projects will involve working with a collection of digital objects, i.e. JPEGs, PDFs, MP3s, etc. We use the software listed below to batch process digital files for use in CollectionBuilder-CSV projects. This approach is optional–you may already have suitable images available or a different workflow to process the objects (for example using PhotoShop or GIMP).

ImageMagick and Ghostscript

The CB-CSV template includes a Rake task that automates creating derivative images for PDF and image items. Rake is a standard part of all Ruby installs, so if you are using Jekyll, you have it installed already!

However, to use CollectionBuilder’s Rake task generate_derivatives you will need the command line tools ImageMagick and Ghostscript installed on your computer. These very popular open source utilities are used in numerous applications and web platforms to provide digital object processing pipelines–and can also be useful for batch processing on your personal computer.

Install on Windows

  • Visit the ImageMagick download page and download the suggested version (the one at the top of the list).
  • This file will be a self contained installer, once downloaded double click to install on your computer following the default options.
  • Visit Ghostscript download page and choose the “AGPL release”.
  • This file will be a self contained installer, once downloaded double click to install on your computer following the default options.

Install on Mac

Use Homebrew to install:

  • Open your terminal.
  • Type in the command: brew install imagemagick
  • Type in the command: brew install ghostscript

Install on Linux

On Linux, use your distro’s repositories to install imagemagick and ghostscript packages.

  • On Ubuntu: sudo apt install imagemagick ghostscript

Tip: on Linux if you install ImageMagick from a repository, you will probably have “legacy” ImageMagick 6 which has slightly different commands then the current version 7. Our Rake task will automatically handle the different versions. Alternatively, if you want to run the most up to date Magick (but then have to manually set up and maintain your installation), you can get a binary release from ImageMagick download page.