https://github.com/o98k-ok/img-outline
π
Add a charming background to your picture. π
https://github.com/o98k-ok/img-outline
golang image-merge image-processing production screenshot
Last synced: 2 months ago
JSON representation
π Add a charming background to your picture. π
- Host: GitHub
- URL: https://github.com/o98k-ok/img-outline
- Owner: o98k-ok
- Created: 2024-08-15T10:05:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-19T03:39:40.000Z (7 months ago)
- Last Synced: 2025-01-22T22:43:34.046Z (4 months ago)
- Topics: golang, image-merge, image-processing, production, screenshot
- Language: Go
- Homepage:
- Size: 55.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# img-outline
## Usage
### πΆπΆ Merge images
```shell
./output/merge-img -front ./testdata/test_jpg.jpg -back ./testdata/macos-big-sur-dark.jpg -out ./result.jpg
```
```shell
Usage of ./output/merge-img:
-back string
background Image path
-front string
Front image path
-out string
Output Image path
```### ππ Image outline
```shell
./output/img-outline -front ./testdata/test_jpg.jpg -out ./testdata/file_version.jpg
./output/img-outline -front ./testdata/test_jpg.jpg -out ./testdata/file_version.jpg -style raycast
```
```shell
Usage of ./output/img-outline:
-front string
Front image path
-out string
Output Image path
-style string
Merge style: macos/raycast (default "macos")
```### π«π« Image auto outline
```shell
./output/auto-outline
```1. copy image to clipboard
2. run command
3. paste image to clipboard
```shell
Usage of ./output/auto-outline:
-style string
Merge style: macos/raycast (default "macos")
```### ππ Image screencapture outline
```shell
./bin/template/screencapture/screencapture-outline
```after screencapture, you can get image

```shell
Usage of ./output/auto-outline:
-style string
Merge style: macos/raycast (default "macos")
```## Formore
I will integrate this tool with Alfred, resulting in:
1. more useful
2. more convenient
3. more customizable## Thanks
1. [gim - Grid Based Image Merge Library](https://github.com/ozankasikci/go-image-merge)
2. [Cross platform (macOS/Linux/Windows/Android/iOS) clipboard package in Go](https://github.com/golang-design/clipboard)
3. [online socialscreenshots editor](https://socialscreenshots.com/editor)
4. An apple valuable command: screencapture