title: Resizing an image with stretchableImageWithLeftCapWidth
body: <p>I'm trying to resize an image using stretchableImageWithLeftCapWidth: it works on the simulator, but on the device, vertical green bars appears.</p>
  
  <p>I've tried to use imageNamed, imageWithContentOfFile and imageWithData lo load the image, it doesnt change.</p>
  
  <pre><code>UIImage *bottomImage = [[UIImage imageWithData:
       [NSData dataWithContentsOfFile:
      [NSString stringWithFormat:@"%@/bottom_part.png", 
       [[NSBundle mainBundle] resourcePath]]]] 
         stretchableImageWithLeftCapWidth:27 topCapHeight:9];
  
  UIImageView *bottomView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 200+73, 100, 73)];
  [self.view addSubview:bottomView];
  UIGraphicsBeginImageContext(CGSizeMake(100, 73));
  [bottomImage drawInRect:CGRectMake(0, 0, 100, 73)];
  UIImage *bottomResizedImage = UIGraphicsGetImageFromCurrentImageContext();
  UIGraphicsEndImageContext();
  bottomView.image = bottomResizedImage;
  </code></pre>
  
  <p>See the result: the green bars shouldn't be there, they dont appear on the simulator.</p>
  
  <p><a href="http://www.quicksnapper.com/files/5161/96232162149F1C14751048_m.png">alt text http://www.quicksnapper.com/files/5161/96232162149F1C14751048_m.png</a></p>