mirror of
https://github.com/nxshock/colorcrop.git
synced 2025-07-02 00:23:44 +05:00
Fix readme
This commit is contained in:
parent
602c4b0993
commit
035d9950c0
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# colorcrop
|
||||
|
||||
Go library for cropping images by removing borders with specified color.
|
||||
A Go library for cropping images by removing borders with specified color.
|
||||
|
||||
## Installation
|
||||
|
||||
|
@ -10,7 +10,9 @@ Go library for cropping images by removing borders with specified color.
|
|||
|
||||
Crop white borders with 50% of thresold:
|
||||
|
||||
`croppedImage := colorcrop.Crop(sourceImage, color.RGBA{255, 255, 255, 255}, 0.5)`
|
||||
```go
|
||||
croppedImage := colorcrop.Crop(sourceImage, color.RGBA{255, 255, 255, 255}, 0.5)
|
||||
```
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue