Skip to content

prashantrahul141/image-resizing-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.