title: Set the pixel format AND create texture from surface in SDL
body: <p>I am currently trying some things using pixel manipulation and I would like to set the pixel format of a SDL_Surface. The problem here is that I am loading up an image with the SDL_image.h. So I have to create a texture from a surface like this:</p>
  
  <pre><code>surface = IMG_Load(filePath);
  texture = SDL_CreateTextureFromSurface(renderer, surface);
  </code></pre>
  
  <p>So I can't use the following function, which I would like to, or can I?:</p>
  
  <pre><code>texture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_STATIC, 640, 480);
  </code></pre>
  
  <p>The thing is, that I want to set the SDL_PixelFormat to be able to mess around with the pixels. How can I both do this and create the texture based on a surface?</p>