An open API service indexing awesome lists of open source software.

https://github.com/prashantrahul141/image-rotation-c

Image rotation using sampling, implemeted in C.
https://github.com/prashantrahul141/image-rotation-c

c image-processing image-rotation image-sampling

Last synced: over 1 year ago
JSON representation

Image rotation using sampling, implemeted in C.

Awesome Lists containing this project

README

          

# Image rotation in C.

Rotate images using [Sampling algorithm](https://www.sciencedirect.com/topics/computer-science/image-rotation)

### Building

This uses a simple Makefile, just run (with [make](https://www.gnu.org/software/make/) installed):

```sh
make
```

### Usage

```sh
Usage:
main [rotation in degrees] [file path]
```

example:

```sh
./main 15 ./images/pixel_art.png
./main 52 ./images/arch.png # or any arbitary angle
./main 180 ./images/2x2.png
```

### Images

[./images/pixel_art.png](https://github.com/prashantrahul141/image-resizing-c/blob/main/images/pixel_art.png) - Scene from KatanaZero.