pgmpixel(1)

NAME

pgmpixel - set a pixel in a greyscale image

SYNOPSIS

pgmpixel <infile> <value> <xpos> <ypos> [<outfile>]

DESCRIPTION

pgmpixel reads an image and sets the pixel at position (xpos, ypos) to value. The result is written back to the original or a new image.

OPTIONS

infile
    The source filename.

value
    The new pixel value.

xpos
    The x coordinate.

ypos
    The y coordinate.

[<outfile>]
    The destination file name if not the same as the source file name.

NOTES

The pgmpixel utility is part of the Wavelet class library package. The version number refers to the whole package rather than to the utility.

Apart from PGM, pgmpixel may, if enabled, also be able to read PFI files. However using different file formats in the same command line may not be a good idea.

BUGS

None known yet.

COPYRIGHT
Copyright (C) 2001-2003 Herbert

pgmpixel is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

pgmpixel is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

AUTHOR
Herbert Martin Dietze <herbert@spamcop.net>