Cut the bitmap file to w piece(s) by width and h piece(s) by height.
Open terminal and run command: g++ -o program_name main.cpp header.h handle.cpp bitmap.h -std=c++17
.
Open terminal and run command: ./program_name bitmap_filename.bmp [-w num] [-h num]
.
This program only work with 40 bytes of DIB format.
Bitmap file structure here.