Skip to content

v2.1.0 LongOpts

Compare
Choose a tag to compare
@tavinus tavinus released this 19 May 11:25
· 85 commits to master since this release

v2.1.0 LongOpts Additions:

  • Now accepts Long Options (case-insensitive)
  • File names/folders don't need to be at the end no more
  • Detecting permission errors
  • Better options and argument validation
  • New Option -n, --no-overwrite - aborts if output target exists.
  • Rebuilt Flip-Detection
  • New Paper Type 'source' wildcard, to run resizing without resizing paper: -r source
  • Auto-modes do not fallback to defaults on error anymore, error printed, execution aborted
  • Rebuilt help info
  • Many new auxiliary functions
  • Few new execution flags
  • More error detection
  • Able to read files with stupid pdf extensions like .Pdf
  • Removes stupid pDf extensions on automatic naming
  • Better Verbosing messages
  • And many other minor changes

v2.0.5 Additions:

  • GS calls have exclusive functions for easy output capturing
  • Capturing possible GS errors and printing to stderr as debug message

v2.0.4 Fix:

  • Fix to finalStatus verbose message

v2.0.3 Additions:

  • -V (print version) option was broken since 2.0.0. Was only working with verbose set before it.
    • Workaround for versions 2.0.0, 2.0.1, 2.0.2: $ ./pdfScale.sh -v -V
    • Fixed!
  • Improvement in grep method by using -m 1 to return only first occurrence so we don't have to cut the first line. May improve the speed for page-size detection of big PDF files.

v2.0.0 Additions:

  • Complete code refactoring
  • Option -r to Resize PDF Paper
    • By Standard Sizes
    • By Custom Size
  • Mixed execution mode (resize+scale)
  • Option -i to Print PDF information
  • Option -p to Print Tables with Paper Sizes
  • Option -f to adjust Resizing Flip Detection
    • auto, forced, disabled
  • Option -a to adjust GS Auto-Rotation
    • pagebypage, none, all
  • Much better code organization
  • Better dependency checking
  • Better validations
  • cat is not used anymore.
  • head is not used anymore
  • Better -v verbose execution information
  • Many internal helper functions
  • Simple documentation added
  • Revision of help information