Pdf Transformer by Hunger
Copyright (C) 2011 Hunger
v0.4.0 - 11 January 2011
http://pdf-transformer.sourceforge.net
----------------------------------------------
Installation Instructions:
----------------------------------------------
1. You need Java Runtime Environment 1.6 or later.
You can download it from http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Download installation archive from https://sourceforge.net/projects/pdf-transformer/files
pdf-transformer.tar.gz for any Unix-based Operating System or pdf-transformer.zip for Windows
3. Extract archive to any folder
4. Run run.bat file on Windows or run.sh on any Unix-based Operating System
----------------------------------------------
Using Pdf Transormer:
----------------------------------------------
Pdf Transformer is command line application. So, all manipulations with it, must be performed from a console.
1. Extract all files from archive distribution to any folder
2. Go to the folder, using console
3. Run application using file run.bat on Windows or run.sh under any Unix-based Operating System with arguments
Examples:
run.bat transform -l 50 -r 100 -t 80 -b 90 my_file.pdf
will generate my_file-out.pdf file with content from my_file.pdf and cropped space (in points):
50 from left side, 100 from right side 80 from top of pages and 90 from bottom.
run.bat transform -m -i my_file.pdf
will generate file with same content, except bookmarks and document information, like: Author, Title, Keywords, etc
Make sure, input filename contains not only file name, but absolute or relative file path. Or you can put input file to the same folder, where run.bat file is located
run.bat tranform -cut-first 5 -cut-last 4 ./input_file.pdf ./output_file.pdf
will remove first 5 and last 4 pages from result, stored in output_file.pdf
run.bat merge file1.pdf file2.pdf
will merge content into output file from both files, by adding content from file2.pdf at the end of the file1.pdf.
run.bat merge -j file1.pdf file2.pdf
will fires same merging procedure, but mixing pages from both files:
first page of the second file will be added after first page of the first file,
second page of the second file will be added after second page of first file, etc...
run.bat extract -r 1,5,11-20 my_file.pdf output.pdf
will extract 1th, 5th pages and pages from 11th to 20th to output.pdf file. Other pages will be skipped.
run.bat extract -n 3 my_file.pdf output.pdf
will extract each third page to output.pdf file. Other pages will be skipped.
run.bat extract -n 2 my_file.pdf output.pdf
will extract even pages (each second page) to output.pdf file. Other pages will be skipped.
run.bat extract -n 2 -i my_file.pdf output.pdf
will extract odd pages (inverts results)to output.pdf file. Other pages will be skipped.
type run.bat --help for full description of usage.
----------------------------------------------
Latest Changes\ Update Log:
----------------------------------------------
11/01/2011 - Release 0.4.0
* added extract option
07/01/2011 - Release 0.3.0
* minor refactoring
* bug fixing
* added deletion of first and/or last N pages
07/01/2011 - Release 0.2.0
* added merging 2 documents into one
06/01/2011 - First release (0.1.0)
----------------------------------------------
Problems or Bugs:
----------------------------------------------
If you encounter problems or found bugs, please visit application's bugtracker:
https://sourceforge.net/tracker/?atid=1624524&group_id=391223&func=browse
or try download the latest version to see if the issue has been resolved.
----------------------------------------------
Licence Agreement:
----------------------------------------------
Copyright 2010 - 2011 Hunger
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.