This repository contains two programs: bmp_converter
and bmp_file_tester
.
bmp_converter
converts a 24-bit BMP image to an 4-bit BMP image.bmp_file_tester
outputs the dimensions and number of bits per pixel of a BMP image.
- Compile the program (
clang++ bmp_converter.cpp -std=c++20
). - Ensure you have an input 24-bit BMP image in the
assets
directory namedinput.bmp
. - Run the compiled program.
- Course: Peter the Great St. Petersburg Polytechnic University (SPbPU), Computer Architecture.
- Teachers: Molodyakov S.A., Militsyn A.V.