meillo@0: pdfconcat meillo@0: --------- meillo@0: meillo@0: This program concatenates PDF files and optionally converts text meillo@0: within them into bitmaps. The concatenation is done with Ghostscript (gs); meillo@0: the detextification is done with a gs-conversion to tiff and tiff2pdf meillo@0: (package libtiff-tools) afterwards. Detextification is only in gray-scale. meillo@0: meillo@0: meillo@0: Contents: meillo@0: meillo@0: - bin/pdfconcat shell script to concatenate PDF files meillo@0: - bin/pdfdetextify shell script to convert text to images in PDF files meillo@0: - pdfconcat.php web interface to invoke the scripts meillo@0: meillo@0: - log log file of web interface invocations (writable) meillo@0: - bin/monthly shell script to sum up the usage by month meillo@0: meillo@0: - upload/ directory to store the converted files (writable) meillo@0: - bin/cleanup.cron helper script to remove old uploaded files meillo@0: meillo@0: - .user.ini php config file to increase the max upload file size meillo@0: meillo@0: meillo@0: Installation: meillo@0: meillo@0: You need a Unix system. Ensure you have gs and tiff2pdf (in the package meillo@0: libtiff-tools) available. meillo@0: meillo@0: To use the bin/pdf* tools on the command line only, copy them to your $PATH meillo@0: and make them executable. meillo@0: meillo@0: To set up the program including the web interface, copy the files to a place meillo@0: below the webserver root. Make bin/pdf{concat,detextify} executable for meillo@0: www-data. Make the log and the upload directory writable by www-data. Install meillo@0: a cronjob to clean up the upload directory. Ensure that the max upload file meillo@0: size of PHP is large enough. meillo@0: meillo@0: meillo@0: More or less helpful information sources on the PDF conversion: meillo@0: meillo@0: http://stackoverflow.com/questions/6002261/pdf-to-tiff-imagemagick-problem meillo@0: http://www.asmail.be/msg0055376363.html meillo@0: http://kvz.io/blog/2007/11/28/php-tiff2pdf/ meillo@0: http://phpdave.wordpress.com/tag/php-pdf-to-tiff/ meillo@0: meillo@0: meillo@0: 2013, markus schnalke meillo@0: Written at KIT-Library, Karlsruhe. meillo@0: meillo@0: This program is in the public domain. -- Dieses Programm hat nicht die meillo@0: notwendige Schoepfungshoehe um urheberrechtlich geschuetzt zu sein. If meillo@0: you though need a license, use it under the CC0 license.