This is my first attempt at writing Go.
When I set out to learn this language, I wanted to build something simple, fun and challenging:
This problem-set felt like a worthwhile challenge because it had just the right amount of complexity paired with the playfulness of manipulating bytes, sometimes leading to unexpected and interesting glitches:
Calculation errors when reversing the image
Calculation errors when computing averages
This is a command line application that allows the user to input a BMP image and apply a transformation to it. The program then outputs the result.
The app can perform the following transformations:
- Convert the image to grayscale
- Reflect the image horizontally
- Blur the image
You need Go to run this app. You can find instructions on how to install it here
From the root of the project you can run
$ go build && ./filter-go [flag] <infile>.bmp <outfile>.bmp
To try out the app use the sample BMP files stored in the /assets
folder. Resulting files will be written to the /out
folder.
-b Blur image
-g Make image grayscale
-r Reflect image horizontally
All the Discord Gophers that took the time to answer my questions <3