This is my implementation of the boot dot dev pokedex project. Currently it is as was designed in the aforementioned guided project but I had an idea.
I wanted to implement transforming the images that are sent down from pokeapi from their original PNG state to ascii art and learn how these technologies work under the hood.
It took awhile but I read the spec knocked out a very Incomplete Parser and now I can parse the PNG data for the pokemon png's that are provided : - ).
This currently includes decoding images that use indexed and true color with alpha images at this point. It also only currently includes defiltering images that have been either no scan line filtering or sub scanline filtering.
-
Handling pokemon forms/species
-
Defiltering Scanlines
- None
- Sub
- Up (not tested)
- Average
- Paeth
- Color Types
- Indexed colors
- Truecolor w/ alpha
- Truecolor
- grayscale
- grayscale w/ alpha
Currently there are no plans to provide builds for this as it is really just something intended for learning but thanks to go it's really simple to build.
First make sure you have go installed by entering go --version and seeing if it's installed. If it isn't then I recommend installing it using webi. it makes installing things wayyyyy easier.
Once you have go installed just git clone the repo into the dir you want to build in and type go build into the root dir of the project and you will have a working pokedex.
To explore the commands simply type in the help command and it will give an explanation of all of the commands. It has yet to write to a file so all runs are just saved to memory and dumped at program termination but that's another commit for another day.