https://github.com/g3th/terminal_image
Print an image into your terminal, much like some functions in the 'Caca' libraries.
https://github.com/g3th/terminal_image
image-processing images java-awt java-image-io kotlin terminal-images
Last synced: 11 months ago
JSON representation
Print an image into your terminal, much like some functions in the 'Caca' libraries.
- Host: GitHub
- URL: https://github.com/g3th/terminal_image
- Owner: g3th
- Created: 2023-10-19T04:32:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T02:20:18.000Z (over 2 years ago)
- Last Synced: 2025-01-15T10:27:10.293Z (about 1 year ago)
- Topics: image-processing, images, java-awt, java-image-io, kotlin, terminal-images
- Language: Kotlin
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Terminal Images
## Print an Image into your terminal
Choose one of the image methods included in the program in order to print your chosen image into your terminal.
The program is tested on linux gnome-terminal, although it might be functional on Windows powershell too.
Escape codes will probably not work on Windows.
It is recommended to use a small image and to make your terminal as small as possible so that the image is displayed properly.
A sample image is included in the ```sample``` directory to give an idea of an appropriately sized image for display.
Compile in terminal:
```kotlinc termImage.kt imageMethods.kt tui.kt -include-runtime -d imMeth.jar```
Run:
```java -jar imMeth.jar```
Kotlin compiler and Java required, as always.