Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question 3 Completed #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
# mask-ppm
# mask-ppm

To solve the first question of the assignment, I forked the 'mask-ppm' repository. In order to clone the mask-ppm repository to my computer, I copied the repository url under my account and ran it with 'git clone' command on Terminal. This copied the content of 'mask-ppm' to my desktop.

Now the command 'bash mask.sh image.ppm mask.pbm > output.ppm' was run in Terminal.

The given command basically runs the script in the file 'mask.sh'. this masks 'mask.pbm' to the image file 'image.ppm' and transforms it to 'output.ppm'.

All these images can be seen in the .png format at Netpbm Viewer browser.


NOTE: After completing the question 2, I mistakenly merged the fix-inverted-maskwith the master branch and deleted the fix-inverted-mask. So in order to do the third question, I will be redoing the whole thing again.



Loading