title: iPhone Objective-C image manipulation
body: <p>I am looking for a way to, in Objective-C, create a PNG from several smaller PNGs based on how the user sets things up. Is this possible using existing Apple classes, or do I need to use a 3rd party library? If 3rd party code is needed, can anyone recommend a good library? The simpler the better - simple filters (such as darkening/lightening the image) would be nice but not required.</p>
  
  <p>Here is some pseudo-code, to give you a better idea of what I am looking for:</p>
  
  <pre><code>image = [myImageLibrary imageWithHeight:1024 width:768];
  [image addImage:@"background.png" atX:0 andY:0 withRotation:0];
  [image addImage:@"image2.png" atX:100 andY:200 withRotation:90];
  [image saveAtLocation:@"output.png"];
  </code></pre>
  
  <p>At output.png we see image2.png placed on top of background.png and rotated 90 degrees</p>
  
  <p>P.S. - I am sorry if this seems to be a duplicate of another question, I just have not found an answer that works for what I am trying to do.</p>