This repository contains a C program for managing PNM (Portable Any Map) images.
It takes PNM images such as PPM (Portable Pixel Map), PGM (Portable Gray Map), and PBM (Portable Bitmap) and pastes them into an output file.
-
Clone this repository to your local machine:
git clone https://github.com/your_username/pnm-image-management.git
-
Navigate to the repository directory:
cd pnm-image-management
-
Compile the program:
run " make " in the terminal
-
Run the program with the desired input PNM files and specify the output file:
./pnm -f PPM -i img/img.ppm -o img2.ppm
- C compiler (e.g., gcc)