-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b5bfea
commit 2a368a7
Showing
4 changed files
with
61 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# Pixel-Renderer-In-Terminal | ||
A engine to render images to the terminal | ||
A simple renderer that converts PNG images to unicode characters displayed in the terminal | ||
|
||
## Slightly important things: | ||
1) You will need the "png.h" library to compile. Just google how to install | ||
|
||
## Install and Compile | ||
``` | ||
git clone https://github.com/InterstellarDragonDev/Pixel-Renderer-In-Terminal.git | ||
cd Pixel-Renderer-In-Terminal/ | ||
mkdir build | ||
make | ||
``` | ||
this will compile a executable file | ||
*you might have to give it execute permissions with `chmod +x pixel_engine`* | ||
|
||
## How to use | ||
run the executable with the first parameter being the image file | ||
e.g) `./pixel_engine test_image.png` | ||
> [!IMPORTANT] | ||
> Only works with png's no other file format is supported | ||
> [!NOTE] | ||
> You may want to set your terminal font to something low (I tested with it set to 1). there is technically no limit to the size that can be rendered but that doesn't mean all images will render properly if they can't fit into the window without warping | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters