JPEGPIXI(1) | User Commands | JPEGPIXI(1) |
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 output.
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.
Please report bugs to <martin-jpegpixi@zero-based.org>.
Copyright © 2002, 2003, 2004, 2005 Martin Dickopp
Jpegpixi is free software; it may be copied and/or modified under the terms of the GNU General Public License version 2 or (at your option) any later version. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The jpegpixi homepage: http://www.zero-based.org/software/jpegpixi/
20-Nov-2005 | jpegpixi 1.1.1 |