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.
- Host: GitHub
- URL: https://github.com/prashantrahul141/image-rotation-c
- Owner: prashantrahul141
- License: mit
- Created: 2024-03-22T11:01:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T15:18:36.000Z (about 2 years ago)
- Last Synced: 2025-01-22T02:23:46.219Z (over 1 year ago)
- Topics: c, image-processing, image-rotation, image-sampling
- Language: C++
- Homepage:
- Size: 449 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.