From 035d9950c04af6fb42eae8e5ea13825f9804df62 Mon Sep 17 00:00:00 2001 From: nxshock Date: Fri, 23 Jun 2017 19:22:25 +0500 Subject: [PATCH] Fix readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 12d0384..8bf03f9 100644 --- a/README.md +++ b/README.md @@ -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