 <p>Just convert it to the right format using <code>SDL_ConvertSurfaceFormat()</code>...</p> <pre><code>SDL_Surface *image = ...; SDL_Surface *converted = SDL_ConvertSurfaceFormat( image, SDL_PIXELFORMAT_ARGB8888, 0); </code></pre>