From 80f81f2e038a7267fe80351b1a3a9e417bfff320 Mon Sep 17 00:00:00 2001 From: Blazej Stanek Date: Fri, 28 Feb 2014 21:15:25 +0100 Subject: [PATCH] readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17042a8..ca67f6a 100644 --- a/README.md +++ b/README.md @@ -19,4 +19,11 @@ Additionally, if you merely desire to know the `UIEdgeInsets` of the transparenc `[yourImage transparencyInsetsRequiringFullOpacity:YES];` -This call works based on the same principles as the "advanced" trim method, with the boolean dictating whether non-opaque pixels should be considered transparent. \ No newline at end of file +This call works based on the same principles as the "advanced" trim method, with the boolean dictating whether non-opaque pixels should be considered transparent. + + +This fork adds support for trimming white area around image with given tolerance + +`[yourImage imageByTrimmingWhitePixelsWithOpacity:VALUE];` + +where 0 - cut only white, 255 - remove everything \ No newline at end of file