title: Drawing RAW buffer to CGBitmapContext
body: <p>I have a raw image buffer in the RGB format. I need to draw it to CGContext so that I get a new buffer of the format ARGB. I accomplish this in the following way:</p>
  
  <p>Create a data provider out of raw buffer using <code>CGDataProviderCreateWithData</code> and then create image out of the data provider with the api: <code>CGImageCreate</code>.</p>
  
  <p>Now if I write this image back to the CGBitmapContext using <code>CGContextImageDraw</code>.</p>
  
  <p>Instead of creating an intermediate image, is there any way of writing the buffer directly to CGContext so that I can avoid the image creation phase?</p>
  
  <p>Thanks </p>