An open API service indexing awesome lists of open source software.

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. πŸŽ…

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
```

![alt text](./testdata/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
```

![alt text](./testdata/file_version.jpg)

```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

![alt text](./testdata/auto_version.png)

```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

![alt text](./testdata/screencapture_version.png)

```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