title: Difficulties while using SDL_CreateRGBSurface to create a new SDL_Surface
body: <p>I'm creating a basic console-based image processing tool in c++ and have thus far found creating functions that operate on RGB values super easy!</p>
  
  <p>What I'd like to do now is create functions for blurring, sharpening and resizing the image. I know that in order to do this, I have to map the new pixels to a new image. I am having a bit of a problem using this in-built SDL function to create a new blank surface onto which I intend to map the new pixels:</p>
  
  <pre><code>SDL_Surface *SDL_CreateRGBSurface(Uint32 flags, int width, int height, int depth, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
  </code></pre>
  
  <p>The rest of my program uses <code>Uint8*</code> rather than <code>Uint32</code>, so I'm not sure how this will affect proceedings. Also, I'm not 100% sure about all of the parameters and what they do/are used for: ie flags and depth.</p>
  
  <p>Can someone give me a bit of advice on how to use this function to properly create a new SDL_Surface?</p>