/image-resizing-c

Nearest Neighbour implemented in C

Primary LanguageC++MIT LicenseMIT

Image resizing in C.

Resize images using Nearest Neighbor Interpolation algorithm.

Building

This uses a simple Makefile, just run (with make installed):

make

Usage

Usage:
    main [scaling factor] [file path]

example:

./main 2 ./images/pixel_art.png
./main 4 ./images/arch.png
./main 20 ./images/2x2.png

Images

./images/pixel_art.png - Scene from KatanaZero.