Skip to content

Commit 5a02932

Browse files
committed
Merge branch 'master' of https://github.com/esimov/stackblur-go
2 parents 4ac9235 + 1dd99e5 commit 5a02932

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,13 @@ The command below will generate the blurred version of the source image.
4545
```bash
4646
$ stackblur -in image/sample.png -out image/output.png -radius 10
4747
```
48-
To visualize the bluring process the cli command supports the `-gif` flag, which if is set to true it will generate a gif image. For the parallel execution of the the bluring process and the gif visualization `goroutines` are used. However if you wish only to generate the blured image, because of API constraints you need to create a go channel and use this as the last parameter of the `Process` method. Something like the code below:
48+
To visualize the bluring process the cli command supports the `-gif` flag, which if is set to true it will generate a gif image. For the parallel execution of the the bluring process and the gif visualization `goroutines` are used.
49+
50+
<p align="center">
51+
<img src="https://user-images.githubusercontent.com/883386/30024201-5565b990-917b-11e7-81b4-d94ffc3e11f3.gif" height=400/>
52+
</p>
53+
54+
However if you wish only to generate the blured image, because of API constraints you need to create a go channel and use this as the last parameter of the `Process` method. Something like the code below:
4955

5056
```Go
5157
var done chan struct{} = make(chan struct{}, *radius)

0 commit comments

Comments
 (0)