Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harmnot/go-script-image-rgba
https://github.com/harmnot/go-script-image-rgba
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/harmnot/go-script-image-rgba
- Owner: harmnot
- Created: 2024-02-24T14:17:14.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-24T14:22:07.000Z (11 months ago)
- Last Synced: 2024-02-24T15:28:52.252Z (11 months ago)
- Language: Go
- Size: 558 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Before Start
- [x] Install go version 1.21.4
- [x] copy paste the image you want to use in the `images` folder# How to use
Run `go run main.go {./images/{yourJPEGimages.jpeg}} {positiveOrNegativeNumber}` in the terminalfor warm (reddish) color use positive number 1 - 100 \
for cold (bluish) color use negative number -1 - -100# Example
Run `go run main.go ./images/yourJPEGimages.jpeg 1` in the terminal \
the output will be `./images/output.jpeg` in the `images` folderanother example
- cooler
`go run main.go ./images/one.jpeg -40`- warmer
`go run main.go ./images/one.jpeg 50`