Batch PDFCreator from image files
Java Shell
Latest commit c3e05e5 Aug 10, 2016 @phochste phochste Updating LICENSE



Creates a PDF/A file from a list of images. This code is used by
Ghent University Library to create PDF files out of TIFF scans.


  cd dist

  # Create a PDF out of a list of images
  ./pdfcreator -v -o test.pdf /tmp/*.tif

  # Create a PDF using a batch input
  ./pdfcreator -v -b -i ".*tif" -e ".*pdf" < input.txt

  where input.txt is a space delimited file containing an output file
  and an source image directory for every line.


  my_file.pdf  /data/files/my_images
  my_file2.pdf /data/files/my_images2


  -v           - verbose
  -a 1A|1B|2A|2B|3A|3B|NONE   - PDF/A compliance
  -b           - batchmode
  -i regex     - include files [batchmode]
  -e regex     - exclude files [batchmode]
  -o file      - output file
  -t title     - title of the document
  -x version   - PDF verson ("1.4" -> "1.7")


  By default PDFCreator will generate a PDF/A-1B file that fills an area specified
by the image resolution tags. 

  By default PDFCreator will read the ICC Color profile from the supplied images.
If no color profile is provided sRGB will be used as default.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program.  If not, see <>.