/bmp-cutter-tool

Cut the bitmap file to w piece by width and h piece by height

Primary LanguageC++

Bitmap Cutter Tool

Cut the bitmap file to w piece(s) by width and h piece(s) by height.

Re-compile

Open terminal and run command: g++ -o program_name main.cpp header.h handle.cpp bitmap.h -std=c++17.

How to use?

Open terminal and run command: ./program_name bitmap_filename.bmp [-w num] [-h num].

Note

This program only work with 40 bytes of DIB format.
Bitmap file structure here.