Gustavo Arnosti Neves
3e23e6a6ed
fix to usage info
pirms 8 gadiem
Gustavo Arnosti Neves
c1dbe910e3
Fix readme
pirms 8 gadiem
Gustavo Arnosti Neves
f0519e0ff1
Fix to help info
pirms 8 gadiem
Gustavo Arnosti Neves
6c0adc1f20
Fix to help info
pirms 8 gadiem
Gustavo Arnosti Neves
dc84917b90
New info for modes and examples
- Updated Help info
- Added more examples
- Brief explanation of the Adaptive mode
pirms 8 gadiem
Gustavo Arnosti Neves
76a1a44e1d
All methods tested, adaptive method is now an option as well, even though it is default; more error messages
pirms 8 gadiem
Gustavo Arnosti Neves
e9a2770c09
code cleanup
pirms 8 gadiem
Gustavo Neves
85efdbaaa2
Mostly working with the new adaptive mode, need to finish and test pdfinfo mode
pirms 8 gadiem
Gustavo Arnosti Neves
4c88d76872
refactoring in progression
pirms 8 gadiem
Gustavo Arnosti Neves
9d271726ff
Update to usage info
pirms 8 gadiem
Gustavo Arnosti Neves
4478f01629
code cleanup for v1.3.5
pirms 8 gadiem
Gustavo Arnosti Neves
3fa67a3cd0
Fixes a bug where the input file was not being passed correctly
pirms 8 gadiem
Gustavo Neves
7809a8d36e
Checks if input file exists and displays error message if not found
pirms 8 gadiem
Gustavo Neves
c0a2e8c5a3
Checks if input file exists and displays error message if not found
pirms 8 gadiem
Gustavo Neves
16fae939a1
v1.3.1 Now using a Postscript tool to get page size using ghostscript; Added option -c to let people use the cat+grep method; PS script is embedded; updated readme
pirms 8 gadiem
Gustavo Neves
176cf93867
Example run for readme
pirms 8 gadiem
Gustavo Neves
3d5db4c823
Just declaring IDBIN at top for consistency (has no practical effect)
pirms 8 gadiem
Gustavo Neves
d9d5b0193e
Better help messages for imagemagick mode
pirms 8 gadiem
Gustavo Neves
250ff735a9
Merge branch 'master' of https://github.com/tavinus/pdfScale
pirms 8 gadiem
Gustavo Neves
88a520d210
v1.2.9 only tries to get identify's binary if running in -i mode, just more optimal
pirms 8 gadiem
Gustavo Arnosti Neves
dc72d145ce
Update README.md
pirms 8 gadiem
Gustavo Arnosti Neves
f3ba93eccb
Update README.md
pirms 8 gadiem
Gustavo Arnosti Neves
ab7af13454
Update README.md
pirms 8 gadiem
Gustavo Arnosti Neves
f2644ab408
New help message and options
Updating info for newer releases.
pirms 8 gadiem
Gustavo Neves
344afb0dc2
v1.2.7 - Adds the possibility to use imagemagick with the -i parameter; fix an issue that could occur before when the MediaBox (or BBox) was not at the beggining of the line; tested with filename with spaces both with and without the -i parameter
pirms 8 gadiem
Gustavo Neves
01c176d58c
Fixed typo in my name, at comments
pirms 8 gadiem
Gustavo Neves
a86a4f8142
v1.2.1 Simpler and better page size parsing
pirms 8 gadiem
Gustavo Neves
93730c2024
v1.1.3 uses BBox if no MediaBox on pdf file. Aborts execution if page size cannot be defined
pirms 8 gadiem
Gustavo Arnosti Neves
641ebae208
v1.0.11 corrects page size for MacOS/BSD
Change yet again how page size is parsed, using bash built-in string processing. Last version was not working on MacOS since there is no `expr index` on BSD's expr. Tested on MacOS and Amazon Linux.
pirms 9 gadiem
Gustavo Arnosti Neves
00c2e28e99
v1.0.9 Fix Invalid scale factor message
error message was outdated
pirms 9 gadiem
Gustavo Arnosti Neves
e745d857c8
cosmetic changes to readme.md
pirms 9 gadiem
Gustavo Arnosti Neves
a611b2a8b2
changes to help text
using $BASENAME on help
pirms 9 gadiem
Gustavo Arnosti Neves
a56a61a4af
does not require imagemagick, new help text
pirms 9 gadiem
Gustavo Arnosti Neves
176014a817
v1.0.7 - no need for imagemagick + extras
- Does not require imagemagick anymore
- Uses cat + grep to get page size from pdf
- Does not use POSIX tr anymore (using bash string manipulation)
- Adding language variables to make sure our decimals use a point
- Binaries for ghostscript and bc are called from variables now, uses which to set
pirms 9 gadiem
Gustavo Arnosti Neves
66050e65c9
fix yum install info
pirms 9 gadiem
Gustavo Arnosti Neves
09a2505ebe
fix uninstall typo
pirms 9 gadiem
Gustavo Arnosti Neves
11f4e3421e
Adding extra information
pirms 9 gadiem
Gustavo Arnosti Neves
8f40279a8f
Makefile to install in /usr/local/bin/pdfscale
to make installation and uninstallation easier
pirms 9 gadiem
Gustavo Arnosti Neves
1a7a4d94f4
v1.0.5 Many changes
- Supports MacOS
- Supports filenames with spaces
- Has parameters and options now
- Can define optional output file
- Help Info with parameter (-h)
- Define scale factor with parameter (-s factor)
- Print version with parameter -V
- Verbose output with parameter -v
- Don't use sed anymore (uses pure bash for what sed was used, or tr)
- New messages if failed dependencies
- Changed how page dimensions are obtained (still needs imagemagick)
pirms 9 gadiem
Gustavo Arnosti Neves
5b1180bf70
Create README.md
pirms 9 gadiem
Michael Cole
a6c451a0ba
pirms 10 gadiem
Michael Cole
2f1c13f006
pirms 10 gadiem