Skip to content

This is the implementation of a program that applies filters to BMP.

License

Notifications You must be signed in to change notification settings

ggulteki/BMP-Filter-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMP-Filter-Tool

bmpfilter is a command-line tool for applying various filters to BMP images like Grayscale, Reflection, Blur and Edge Detection.

Table of Contents

Introduction

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

How to Use

  1. Clone the repository to your local machine:

    git clone https://github.com/ggulteki/BMP-Filter-Tool.git
    
  2. Compile the source code to build the bmpfilter program:

    make
    
  3. Look at the Example section for how to use this program.

  4. If you want to remove object files and intermediate build artifacts, use the following command:

    make clean
    
  5. To remove all build artifacts, including the binary:

    make fclean
    
  6. To rebuild the bmpfilter program from scratch, use:

    make re
    

Example

Using Grayscale

  • Before

Default

./bmpfilter -g img/default.bmp img/grayscale.bmp
  • After

Greyscale

Using Reflection:

  • Before

Default

./bmpfilter -r img/default.bmp img/reflection.bmp
  • After

Reflection

Using Blur:

  • Before

Default

./bmpfilter -b img/default.bmp img/blur.bmp
  • After

Blur

Using Edges:

  • Before

Default

./bmpfilter -e img/default.bmp img/edges.bmp
  • After

Edges

Licence

This project is open source and distributed under the GNU General Public License version 3.0 (GPL-3.0).

License: GPL-3.0

About

This is the implementation of a program that applies filters to BMP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published