GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CRUNCHJPGS(1) User Contributed Perl Documentation CRUNCHJPGS(1)

crunchjpgs.pl - Compress all JPG images in a PDF

 crunchjpgs.pl [options] infile.pdf [outfile.pdf]

 Options:
   -j --justjpgs       make script skip non-JPGs
   -q --quality        select JPG output quality (default 50)
   -s --scale=num      select a rescaling factor for the JPGs (default 100%)
   -m --scalemin=size  don't scale JPGs smaller than this pixel size (width or height)
   -O --only=imnum     only change the specified images (can be used mutliple times)
   -S --skip=imnum     don't change the specified images (can be used mutliple times)
   -o --order          preserve the internal PDF ordering for output
      --veryverbose    increases the verbosity
   -v --verbose        print diagnostic messages
   -h --help           verbose help message
   -V --version        print CAM::PDF version

The available values for --scale are:

    1  100%
    2   50%
    4   25%
    8   12.5%

"imnum" is a comma-separated list of integers indicating the images in order that they appear in the PDF. Use listimages.pl to retrieve the image numbers.

Requires the ImageMagick convert program to be available

Tweak all of the JPG images embedded in a PDF to reduce their size. This reduction can come from increasing the compression and/or rescaling the whole image. Various options give you full control over which images are altered.

CAM::PDF

listimages.pl

extractallimages.pl

extractjpgs.pl

uninlinepdfimages.pl

See CAM::PDF
2013-08-15 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.