Resize.sh: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 October 2023

  • curprev 14:2114:21, 3 October 2023Manetta talk contribs 768 bytes +768 Created page with "==Script== <syntaxhighlight lang="bash"> #! /bin/bash pdffile=$1; dpi=$2 gs \ -o "${pdffile%.pdf}-resized.pdf" \ -sDEVICE=pdfwrite \ -dDownsampleColorImages=true \ -dDownsampleGrayImages=true \ -dDownsampleMonoImages=true \ -dColorImageResolution=$dpi \ -dGrayImageResolution=$dpi \ -dMonoImageResolution=$dpi \ -dColorImageDownsampleThreshold=1.0 \ -dGrayImageDownsampleThreshold=1.0 \ -dMonoImageDownsampleThreshold=1.0 \ "${pdffile}" </syntaxh..."