Skip to content

A program that applies filters to BMPs, developed for Harvard's CS50x course.

Notifications You must be signed in to change notification settings

ed-morais/filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Filter.

A program that applies filters to BMPs. The four filters implemented are Grayscale (-g), Reflection (-r) and Blur (-b).

The following commands can be used to generate different filtered images.

$ ./filter -g INFILE.bmp OUTFILE.bmp
$ ./filter -r INFILE.bmp OUTFILE.bmp
$ ./filter -b INFILE.bmp OUTFILE.bmp

INFILE.bmp is the name of the input image and OUTFILE.bmp is the name of the resulting image after a filter has been applied.

Example:

Sample input:
original tower image

Output of Grayscale Filter:
Grayscale

Output of reflection Filter:
reflection

Output of blur Filter:
blurred

About

A program that applies filters to BMPs, developed for Harvard's CS50x course.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published