This project generates random images based on the height and width given by the user.
Before building, ensure you have the required dependencies installed:
sudo apt install cmake libpng-devbrew install cmake libpngThe code will already be formatted when you download the repo but to reformat it just run:
clang-format --style=Google <filename>Use cmake to build:
mkdir build && cd build
cmake ..
makeMAKE SURE YOU ARE IN THE BUILD DIRECTORY BEFORE RUNNING THESE COMMANDS!
Run this command to generate the random image:
./RandomImage <filename> <width> <height>