title: NSImage size not real size with some pictures?
body: <p>I see that sometimes NSImage size is not real size (with some pictures) and CIImage size is always real. I was testing with this <a href="http://naturelap.files.wordpress.com/2010/02/mystic-nature.jpg" rel="noreferrer">image</a>.</p>
  
  <p>This is source code which I wrote for testing:</p>
  
  <pre><code>NSImage *_imageNSImage = [[NSImage alloc]initWithContentsOfFile:@"&lt;path to image&gt;"];
  
  NSSize _dimensions = [_imageNSImage size];
  
  [_imageNSImage release];
  
  NSLog(@"Width from CIImage: %f",_dimensions.width);
  NSLog(@"Height from CIImage: %f",_dimensions.height);
  
  
  
  
  NSURL *_myURL = [NSURL fileURLWithPath:@"&lt;path to image&gt;"];
  CIImage *_imageCIImage = [CIImage imageWithContentsOfURL:_myURL];
  
  
  NSRect _rectFromCIImage = [_imageCIImage extent];
  
  NSLog(@"Width from CIImage: %f",_rectFromCIImage.size.width);
  NSLog(@"Height from CIImage: %f",_rectFromCIImage.size.height);
  </code></pre>
  
  <p>And output is:</p>
  
  <p><img src="https://i.stack.imgur.com/mZapM.png" alt="enter image description here"></p>
  
  <p><strong>So how that can be?? Maybe I'm doing something wrong?</strong></p>