bmpfilter is a command-line tool for applying various filters to BMP images like Grayscale, Reflection, Blur and Edge Detection.
This program allows you to process BMP image files with various filters, offering visual effects to your images. You can easily apply the filters by running the tool from the command line.
You can choose from four different filters:
- Grayscale (-g): Converts the image to black and white.
- Reflection (-r): Creates a mirror reflection of the image.
- Blur (-b): Blurs the image using a simple technique.
- Edges (-e): Enhances the edges in the image using the Sobel operator. For more detailed information about the Sobel Operator, please visit: https://en.wikipedia.org/wiki/Sobel_operator
-
Clone the repository to your local machine:
git clone https://github.com/ggulteki/BMP-Filter-Tool.git
-
Compile the source code to build the bmpfilter program:
make
-
Look at the Example section for how to use this program.
-
If you want to remove object files and intermediate build artifacts, use the following command:
make clean
-
To remove all build artifacts, including the binary:
make fclean
-
To rebuild the bmpfilter program from scratch, use:
make re
- Before
./bmpfilter -g img/default.bmp img/grayscale.bmp
- After
- Before
./bmpfilter -r img/default.bmp img/reflection.bmp
- After
- Before
./bmpfilter -b img/default.bmp img/blur.bmp
- After
- Before
./bmpfilter -e img/default.bmp img/edges.bmp
- After
This project is open source and distributed under the GNU General Public License version 3.0 (GPL-3.0).