Permalink
Browse files

README change

  • Loading branch information...
1 parent 3960808 commit 4d13c0428f50c7be124bd0a193676718d83a4c16 @OmidH committed Feb 13, 2012
@@ -278,13 +278,8 @@ - (id) e11 {
RGBA minrgb, maxrgb;
- minrgb.red = 60;
- minrgb.green = 35;
- minrgb.blue = 10;
-
- maxrgb.red = 170;
- maxrgb.green = 140;
- maxrgb.blue = 160;
+ minrgb = RGBAMake(60, 35, 10, 255);
+ maxrgb = RGBAMake(170, 140, 160, 255);
newImage = [newImage applyFiltrrByStep:4
ShiftIn:shiftIn
View
11 README
@@ -52,14 +52,9 @@ This is pretty simple:
img = [self multiply:topImage];
RGBA minrgb, maxrgb;
-
- minrgb.red = 60;
- minrgb.green = 35;
- minrgb.blue = 10;
-
- maxrgb.red = 170;
- maxrgb.green = 140;
- maxrgb.blue = 160;
+
+ minrgb = RGBAMake(60, 35, 10, 255);
+ maxrgb = RGBAMake(170, 140, 160, 255);
img = [[[self tintWithMinRGB:minrgb MaxRGB:maxrgb] contrastByFactor:0.8] brightnessByFactor:10];

0 comments on commit 4d13c04

Please sign in to comment.