Gustavo Neves
0d18ac7a7f
more tunning
8 роки тому
Gustavo Neves
e895ecf8b2
fixing task verbose message, simpler output file name detection, readme reflecting it
8 роки тому
Gustavo Neves
24ce32fef9
more changes to verbose messages, updated run examples on readme
8 роки тому
Gustavo Neves
d3fd1191f9
more changes to verbose messages
8 роки тому
Gustavo Neves
d19b9dbf24
adding more verbose messages, changing the order they are shown
8 роки тому
Gustavo Neves
6b44459cba
more 2.0 readme
8 роки тому
Gustavo Neves
fbfbb3464e
changed flip detection help message
8 роки тому
Gustavo Neves
9a3b6a2f53
Added custom paper resizing functionality; more updates to help messages
8 роки тому
Gustavo Neves
75c948ce2e
program name was printing even when not verbose, fixed
8 роки тому
Gustavo Neves
442579b87f
Checked all exit calls use exit flags, changed some -z, etc to my isEmpty or isNotEmpy functions
8 роки тому
Gustavo Neves
12598cbc20
Code cleanup, moved functions to organize a bit better, added some comments, tabs to spaces. Seems almost ready to release
8 роки тому
Gustavo Neves
c26863f33e
small fix to mdls fail detection
8 роки тому
Gustavo Neves
62eaba1ad4
Cleanning some comments
8 роки тому
Gustavo Neves
267d4702de
Adding aprox points for JIS papers
8 роки тому
Gustavo Neves
fa59438ac1
First readme for v2.0.0
8 роки тому
Gustavo Neves
9d65332ec7
V2.0.0-beta-final; Complete Code refactoring, still needs some cleaning, but all working; Add option to page resize; Option for mixed tasks (resize + scale); Better validation all around; Option to print Valid GS Paper sizes tables; Main and GetOpt functions; All error messages should be going to stderr now; Just need some more testing and some code cleaning, organisation, documentation.
8 роки тому
Gustavo Neves
4b7bb4b795
Fix to MacOS mdls Height and Width were inverted; Update README.md
8 роки тому
Gustavo Neves
3f8b59087c
code cleanup
8 роки тому
Gustavo Neves
e63f2a76c5
code cleanup
8 роки тому
Gustavo Arnosti Neves
3e23e6a6ed
fix to usage info
8 роки тому
Gustavo Arnosti Neves
6c0adc1f20
Fix to help info
8 роки тому
Gustavo Arnosti Neves
76a1a44e1d
All methods tested, adaptive method is now an option as well, even though it is default; more error messages
8 роки тому
Gustavo Arnosti Neves
e9a2770c09
code cleanup
8 роки тому
Gustavo Neves
85efdbaaa2
Mostly working with the new adaptive mode, need to finish and test pdfinfo mode
8 роки тому
Gustavo Arnosti Neves
4c88d76872
refactoring in progression
8 роки тому
Gustavo Arnosti Neves
9d271726ff
Update to usage info
8 роки тому
Gustavo Arnosti Neves
4478f01629
code cleanup for v1.3.5
8 роки тому
Gustavo Arnosti Neves
3fa67a3cd0
Fixes a bug where the input file was not being passed correctly
8 роки тому
Gustavo Neves
7809a8d36e
Checks if input file exists and displays error message if not found
8 роки тому
Gustavo Neves
c0a2e8c5a3
Checks if input file exists and displays error message if not found
8 роки тому
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
8 роки тому
Gustavo Neves
3d5db4c823
Just declaring IDBIN at top for consistency (has no practical effect)
8 роки тому
Gustavo Neves
d9d5b0193e
Better help messages for imagemagick mode
8 роки тому
Gustavo Neves
88a520d210
v1.2.9 only tries to get identify's binary if running in -i mode, just more optimal
8 роки тому
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
8 роки тому
Gustavo Neves
01c176d58c
Fixed typo in my name, at comments
8 роки тому
Gustavo Neves
a86a4f8142
v1.2.1 Simpler and better page size parsing
8 роки тому
Gustavo Neves
93730c2024
v1.1.3 uses BBox if no MediaBox on pdf file. Aborts execution if page size cannot be defined
8 роки тому
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.
9 роки тому
Gustavo Arnosti Neves
00c2e28e99
v1.0.9 Fix Invalid scale factor message
error message was outdated
9 роки тому
Gustavo Arnosti Neves
a611b2a8b2
changes to help text
using $BASENAME on help
9 роки тому
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
9 роки тому
Gustavo Arnosti Neves
11f4e3421e
Adding extra information
9 роки тому
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)
9 роки тому
Michael Cole
a6c451a0ba
10 роки тому
Michael Cole
2f1c13f006
10 роки тому