/negative-image

Transforms PGM image or image area to negative

Primary LanguageC

negative-image

Transforms PGM image or image area to negative

execution

./negimg input\_file.pgm output\_file.pgm

for whole image

./negimg input\_file.pgm output\_file.pgm x0 y0 x1 y1

to part of image with constraints

x0-x1 and y0-y1