Skip to content

Releases: tavinus/pdfScale

Code revision, help messages update

22 Feb 08:39
Compare
Choose a tag to compare
  • Small revision, code cleaning
  • Help message revision

Adaptive Mode

22 Feb 07:52
Compare
Choose a tag to compare
  • Small fixes do help and usage info
  • Small update on readme.md

Adaptive mode - Final

22 Feb 07:23
Compare
Choose a tag to compare
  • Code cleanup after refactoring
  • Fix help info
  • Fix readme

Adaptive mode

22 Feb 06:26
Compare
Choose a tag to compare

Now tries different forms of page size detection if the last one fails.
One can force the method of detection with the -m parameter or just use the adaptive mode, which will try each of them by itself.

Methods:

  • Cat + Grep
  • MacOS mdls
  • Linux pdfinfo
  • ImageMagick's identify

v1.3.x postscript/ghostscript method was removed until I can write some PS to do that myself.

Better help messages for new stuff

21 Feb 09:33
Compare
Choose a tag to compare

Update help messages for -i mode.

More imagemagick optimization

21 Feb 09:23
Compare
Choose a tag to compare

identify's which binary search was failing silently when not present for no reason.
Just moved a line of code to when we are actually using the imagemagick mode.
Was no real issue (on v1.2.7), just more optimal this way.

ImageMagick as optional + bugfixes

21 Feb 08:44
Compare
Choose a tag to compare
  • Added the -i parameter, will use imagemagick for determining the pag size if used
  • Fixed an issue on some pdfs that had the /MediaBox or /BBox declaration at the middle or the end of a line

Better page size parsing

21 Feb 06:05
Compare
Choose a tag to compare

Fixed a long-time standing possible problem when parsing the page size. Before, things could go wrong if the MediaBox or BBox did not start with 0 0. Now it is fine, and simpler.

Better paper-size support

21 Feb 02:26
Compare
Choose a tag to compare

Tries to use alternate methods to determine the paper-size.

Fails with error message if paper size is not detected.

MacOS/BSD fix + better parsing

10 Jul 11:31
Compare
Choose a tag to compare

Eliminates the use of expr index since that is not available on MacOS/BSD.
It is actually better for GNU/Linux as well.