OnWorks favicon

crunchjpgsp - Online in the Cloud

Run crunchjpgsp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command crunchjpgsp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



crunchjpgs - Compress all JPG images in a PDF


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

-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 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.

Use crunchjpgsp online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 2
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 3
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    Download Osu!
  • 4
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 5
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    Download Metal detector based on RP2040
  • 6
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • More »

Linux commands