Assuming you've installed the dependencies for sdl (already include SDL2_image dependency)
SDL2_image
See the Tvintris example for usage