https://github.com/harmnot/go-script-image-rgba
script to edit image color to be warm (reddish) or cool ( bluish )
https://github.com/harmnot/go-script-image-rgba
go image-editor image-processing script
Last synced: 7 months ago
JSON representation
script to edit image color to be warm (reddish) or cool ( bluish )
- Host: GitHub
- URL: https://github.com/harmnot/go-script-image-rgba
- Owner: harmnot
- Created: 2024-02-24T14:17:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T14:22:07.000Z (almost 2 years ago)
- Last Synced: 2025-06-15T20:25:50.384Z (8 months ago)
- Topics: go, image-editor, image-processing, script
- Language: Go
- Homepage:
- 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 terminal
for 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` folder
another example
- cooler
`go run main.go ./images/one.jpeg -40`
- warmer
`go run main.go ./images/one.jpeg 50`