Archive for March, 2009

15th March
2009
written by Jeremy

Hi again, in this tutorial, i will be showing you how to take the eyes in your portrait photos from this:
Before

to this
after

First you are going to need to get out your Dodge Tool and choose a soft brush that is big enough to take up the entire iris (colored part plus the black pupil in the center) and click a couple times. This will make your eye brighter so the colors pop out more.

The next step will require you to make a new transparent layer on top of your photo. Once that is done select the brush tool and select a solid brush that will cover the iris. Now you need to select a color, you can choose a pretty much any color you want, but it will need to be darker than what you want it to be in the photo. You will see why in a minute. So now click on the iris and it will be that color, now the new layer part comes in handy, make that layer’s blending Overlay. Now it should look like it blends a bit better, to finish, put the opacity around 70% depending on how bright you made the eyes and what color you chose.

For those of you that care, yes, that is me in the pictures.

10th March
2009
written by Jeremy

Sure, you can drag and drop a button onto your windows using IB, but they do not look nice, nor is that as much fun as doing it from scratch.

Using the loadView method we will load fancy background by loading a nice image. But first we need to declare some variables.  In the viewController.h file we need to set up our contentView.
UIImageView *contentView;

Now in our viewController.m file we will set up our window inside the loadView method.

contentView = [[UIImageView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
[contentView setImage:[UIImage imageNamed:@"image.jpg"]];
[contentView setUserInteractionEnabled:YES];
self.view = contentView;
[contentView release];

Now that our windows is all nice and pretty, we can add our button(s). For the purpose of this tutorial, we will be making one button in the center of the window.

Now, lets create the button.

UIButton *startButton = [[UIButton alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 180.0f, 130.0f)];

Now we can add an image as the background of the button

[startButton setBackgroundImage:[[UIImage imageNamed:@"squareButton.png"] stretchableImageWithLeftCapWidth:110.0 topCapHeight:0.0] forState:UIControlStateNormal];

Now lets center our button

[startButton setCenter:CGPointMake(195.0f, 208.0f)];

Then you need to add the button to the view

[contentView addSubview:startButton];

So, there we go, a nice looking button, well depending on your photoshop skills. So your loadView should look like this:



- (void)viewDidLoad {
contentView = [[UIImageView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]];
[contentView setImage:[UIImage imageNamed:@"284.jpg"]];
[contentView setUserInteractionEnabled:YES];
self.view = contentView;
[contentView release];
UIButton *startButton = [[UIButton alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 180.0f, 130.0f)];
[startButton setBackgroundImage:[[UIImage imageNamed:@"squareButton.png"] stretchableImageWithLeftCapWidth:110.0 topCapHeight:0.0] forState:UIControlStateNormal];
[startButton setCenter:CGPointMake(195.0f, 208.0f)];
[startButton addTarget:self action:@selector(playSound:) forControlEvents:UIControlEventTouchUpInside];
[contentView addSubview:startButton];
[super viewDidLoad];
}

Hope you enjoyed
~Jeremy

cialis compare levitra viagra good Buy Levitra cheap vardenafil,