/gsbatch

Batch apply GhostScript command

Primary LanguagePythonMIT LicenseMIT

gsbatch

CI Conda Version PyPi release

Overview

gsbatch allows you to run batch jobs (with some default options) using GhostScript.

Convert images to PNG

gsbatch_topng *.pdf

Convert a bunch of *.pdf images to PNG images. gsbatch_topng uses as default output the same filename, but with the .pdf extension replaced by .png.

Getting gsbatch

Using conda

conda install -c conda-forge gsbatch

This will also download and install all necessary dependencies.

Using PyPi

pip install gsbatch

This will also download and install the necessary Python modules.

From source

# Download gsbatch
git checkout https://github.com/tdegeus/gsbatch.git
cd gsbatch

# Install
python -m pip install .

This will also download and install the necessary Python modules.