Rotate images using Sampling algorithm
This uses a simple Makefile, just run (with make installed):
make
Usage:
main [rotation in degrees] [file path]
example:
./main 15 ./images/pixel_art.png
./main 52 ./images/arch.png # or any arbitary angle
./main 180 ./images/2x2.png
./images/pixel_art.png - Scene from KatanaZero.