This software reads and modifies PDF (Portable Document Format) files as described e.g. in "ISO 32000" (a free document, but not free of charge) or in Adobes "Portable Document Format Reference Manual Version 1.3" ©1993-1999 Adobe Systems Incorporated. (this is proprietary but available free of charge).
See GNU Public Licence (GPL) Dokumentation for the difference between "free" and "free of charge".
All modifications to the PDF files are specified using the commandline. If the available space on the commandline is not sufficient to take all parameters, a configuration file may be read.
The file format and the available options are described in the sample configuration file "EXAMPLE.rules", which is provided with this software.
Inserting new pages and inserting images is not disfunctional
Copyright ©2016-2017 Sönke Huckfeldt
This software is free software, distributed under the terms of the GNU General Public License, version 3 or (at your choice) newer. This means that if you want to use this software or parts of the sourcecode in a program that you release or distribute to anyone, the program must be free software and have a GPL-compatible license. If you would like advice on making your license GPL-compatible, contact licensing@gnu.org.
This software is provided in the hope that it may be useful, but without any warranty, see GNU General Public License for further details.
You should have received a copy of the GNU General Public License together with this software. If not please download from http://www.gnu.org/licenses/.
The part of the software created by me is free of third party rights. All used libraries are free software, but the respective licence terms apply. Please notice all details and information on this topic in this file.
/***************************************************************************** * PDF Modifier * * * * Copyright ©2016-2017 by Sönke Huckfeldt webmaster (at) huckfeldt.eu * * * * Licensed under GNU General Public License 3.0 or later. * * Some rights reserved. See this README and COPYING. * * * * License http://www.gnu.org/licenses/ * *****************************************************************************/
This software does not claim to correctly or fully implement the documents and standards named above.
Only a small subset of the options in the named standards is actually implemented, but all unknown non-text objects are written verbatim from the input to the output. All data structures of the PDF page description remain intact. All references to a certain position in the file, e.g. starting with byte offset xx are not preserved and will certainly lead to a non-readable document.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
For JPEG compression and decompression this software uses libjpeg. "This software is based in part on the work of the Independent JPEG Group". More information: http://www.ijg.org Downloaded from: http://www.ijg.org Enclosed in file: jpegsr9b.zip Short description (from the librarys README): This package contains C software to implement JPEG image encoding, decoding, and transcoding. JPEG (pronounced "jay-peg") is a standardized compression method for full-color and grayscale images. Licence: Free distributabe. For details see the packages README file. For RFC 1950 and RFC 1951 compression this software uses miniz.c v1.15 r4. More information: https://code.google.com/archive/p/miniz/ Download from: https://storage.googleapis.com/google-code-archive-downloads/v2/ code.google.com/miniz/miniz_v115_r4.7z Short description (from https://code.google.com/archive/p/miniz/): miniz.c is a lossless, high performance data compression library in a single source file that implements the zlib (RFC 1950) and Deflate (RFC 1951) compressed data format specification standards. It supports the most commonly used functions exported by the zlib library, but is a completely independent implementation so zlib's licensing requirements do not apply. License: /* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to http://unlicense.org/ */ For creation of the PDF parser this software uses GNU Bison 2.4.1. More information: https://www.gnu.org/software/bison/ Downloaded from: http://ftp.gnu.org/gnu/bison/ Enclosed in file: /bison/pcd_skel.c Short description (from the librarys README): The GNU projects compiler generator. Bison is used to implement an LALR(1) gramar in C code. The grammar description is to be provided in a .y-File. Licence: /* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright ©1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. */ /* As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice, so long as that work isn't itself a parser generator using the skeleton or a modified version thereof as a parser skeleton. Alternatively, if you modify or redistribute the parser skeleton itself, you may (at your option) remove this special exception, which will cause the skeleton and the resulting Bison output files to be licensed under the GNU General Public License without this special exception. This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ For compiling the C and C++ code this software uses Microsoft Visual C++ 2012 included in Microsoft Visual Studio Express 2012. More information: http://www.ijg.org Downloaded from: http://www.ijg.org Enclosed in file: - Short description (from the librarys README): This package contains C software to implement JPEG image encoding, decoding, and transcoding. JPEG (pronounced "jay-peg") is a standardized compression method for full-color and grayscale images. Licence: Proprietary license. Visual Studio Express can be used to build production applications.