Final project for Programming and Algorithmics 2 (BI-PA2)
ASCII Art Editor is a CLI-based application designed to convert and manipulate images in the terminal. It supports standard image formats and offers a variety of post-processing effects. The engine is capable of generating static ASCII art as well as creating animated sequences.
- Format Support: Native support for
.bmpand.tgafiles. - Image Manipulation:
- Filters: Brightness adjustment (Lightening/Darkening), Negative.
- Transformation: Rotation (90°/180°/270°), Horizontal/Vertical flipping.
- Animation: Tools to create ASCII animations from image sequences.
Example output: An animated dog generated by the editor.
Follow these instructions to compile and run the project on your local machine.
- GCC/G++ Compiler
- Make
To compile the entire project, navigate to the root directory and run:
make compileTo compile the project and generate Doxygen documentation simultaneously:
make allStart the application using the following command:
make run
Once the program is running, the interactive CLI will guide you through:
- Loading an image file.
- Applying desired filters and transformations.
- Saving the output or creating an animation.
The project includes a Makefile to automate common tasks. Below is a list of available commands:
| Command | Description |
|---|---|
make compile |
Compiles the source code and generates the executable. |
make run |
Runs the compiled executable. |
make doc |
Generates documentation using Doxygen. |
make all |
Compiles the project and generates documentation. |
make clean |
Removes compiled binaries, object files, and documentation. |
make test_all |
Executes the test suite to ensure functionality. |
make count |
Counts the lines of code in the project. |
This project is licensed under the MIT License - see the LICENSE file for details.