title: Getting the size of an image
body: <p>I am currently changing textures with cocos2d using this </p>
  
  <pre><code>CCTexture2D* tex = [[CCTextureCache sharedTextureCache] addImage:
                          someImage.png];
  
  [someSprite setTexture: tex];
  </code></pre>
  
  <p>But the issue is the image I send it to</p>
  
  <pre><code>[someSprite setTexture:tex withRect:someRect
  </code></pre>
  
  <p>How do I get the size of the image or get the rect size to set the CCSprite to with the texture.?</p>
  
  <p>Thanks</p>