OnWorks favicon

jpegpixi - Online in the Cloud

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

This is the command jpegpixi 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



jpegpixi - interpolate pixels in JFIF (JPEG) image files


jpegpixi [OPTION]... SOURCE DEST [[D:]X,Y[,S]|[,SX,SY]]...


Jpegpixi interpolates pixels or pixel blocks in JFIF images files (commonly referred to as
"JPEG images"). This is useful to correct images from a digital camera with CCD defects.
Only DCT blocks which contain pixels to be interpolated are decoded and re-encoded, and
the re-encoding is performed with exactly the same parameters with which the image has
originally been encoded. Therefore, the image quality is preserved as much as possible.

SOURCE and DEST are the filenames of the source file and the destination file,
respectively. In both cases, - can be used, which refers to standard input or standard

The destination filename is followed by any number of pixel or pixel block specifications.
It starts with an optional direction specifier (D), which can be 2 for 2-dimensional
interpolation (the default), V or v for 1-dimensional vertical interpolation (e.g. to
remove horizontal stripes), or H or h for 1-dimensional horizontal interpolation. X,Y are
the coordinates of the pixel or the upper-left corner of the pixel block. S is the size
of the pixel block (1 by default). Alternatively, separate sizes can be specified for the
width (SX) and the height (SY).

All numbers (X, Y, S, SX, SY) can be expressed as absolute coordinates/sizes or
percentages of the image size. If a number is followed by a percent character (%), it is
interpreted as a percentage, otherwise as an absolute number.


-f FILE, --blocks-file=FILE
Read pixel block specifications from file FILE in addition to the command line. The
file should contain one specification ([D:]X,Y[,S]|[,SX,SY]) per line. Empty lines
are ignored. The file may also contain comments, which start with an octothorpe (#)
and extend to the end of the line.

-m METHOD, --method=METHOD
Use interpolation method METHOD (default: linear). See section INTERPOLATION
METHODS below.

-v, --verbose
Display the coordinates and size of each pixel block that is interpolated.

-i, --info
Display information about the image, such as the size of the image, the colorspace
in which it is encoded, and sampling rates for the different components.

-s, --strip
Do not copy comment and extra markers from the source to the destination file. This
strips preview images, EXIF data, and similar information.

--help Display a short help text and exit immediately.

Display version information and exit immediately.


0, av, average
The pixels adjacent to the pixel block are averaged. The resulting color is
assigned to all pixels in the block. For 1-dimensional interpolation, this is done
separately for one pixel wide, horizontal or vertical stripes.

1, li, linear
The pixels which have a distance of 1 from the pixel block are used to calculate a
bilinear surface (2-dim), or a group of linear curves (1-dim), which is then used
to assign colors to the pixels in the block.

2, qu, quadratic
The pixels which have a distance of 2 or less from the pixel block are used to
calculate a biquadratic surface (2-dim), or a group of quadratic curves (1-dim),
which is then used to assign colors to the pixels in the block.

3, cu, cubic
The pixels which have a distance of 3 or less from the pixel block are used to
calculate a bicubic surface (2-dim), or a group of cubic curves (1-dim), which is
then used to assign colors to the pixels in the block.

Use jpegpixi online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 2
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Download libusb
  • 3
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    Download SWIG
  • 4
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 5
    Package repo for ArchLabs This is an
    application that can also be fetched
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 6
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • More »

Linux commands