A lightweight, native Windows desktop application for file compression and obfuscation, built with C++ and the Win32 API.
- Multiple Compression Methods:
- RLE (Run-Length Encoding): Efficient for files with repetitive data.
- LZW (Lempel-Ziv-Welch): Dictionary-based compression for general-purpose files.
- XOR Cipher: A utility for basic file obfuscation/encryption.
- Modern GUI: Native Windows interface with visual styles, progress tracking, and easy navigation.
- Live Performance Stats: Real-time progress bar, time elapsed, and compression density reporting.
- Multithreaded: Operations run in the background to keep the UI responsive.
- No Heavy Dependencies: Built using standard C++17 and the Windows API.
c++pos/
├── bin/ # Compiled executable (created after build)
├── include/ # Header files (.h)
│ ├── Compressor.h
│ ├── RLECompressor.h
│ ├── LZWCompressor.h
│ └── XORCompressor.h
├── src/ # Source code (.cpp)
│ └── main.cpp
├── build.bat # One-click build and run script
└── README.md # This file
To build this project, you need a C++ compiler installed on your system.
- OS: Windows 10/11
- Compiler: MinGW / G++ (Recommended) or any specific GCC port for Windows.
Simply double-click or run the build.bat script included in the root directory. It will compile the code and launch the application automatically.
./build.batIf you prefer to compile it manually via the terminal, use the following command:
g++ -o bin/CompressorTool.exe src/main.cpp -I include -lgdi32 -lcomdlg32 -lcomctl32 -luxtheme -static -O2Then run the executable:
./bin/CompressorTool.exeShaheelHassan
Made with Love