[Ep. 23] Load PNG (and more formats) into Simple DirectMedia Layer with SDL2 Image | Intro to SDL2

►SDL2 Playlist:    • SDL2 Simple Directmedia Layer   ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel:    / @mikeshah   ►Git Repo: https://github.com/MikeShah/SDL2_Tuto... ►Lesson Description: In this example I show you how to download, include, and link the SDL Image library. Using the SDL Image library will enable you to use more formats beyond bitmap (bmp) images. 00:00 Gettting pixel data to SDL_Surfaces 00:50 SDL_Image 2.0 library 1:35 Installation on linux 2:50 Recap of base code 3:52 SDL Image documentation, including, linking, and compiling in library 6:51 IMG_Init with SDL Image 10:07 IMG_QUIT to destroy our library 10:31 IMG_Load for a png image 13:10 Creating a texture to render to 13:50 Free our surface and destroy our texture 14:30 Render our texture to the screen 15:45 IMG_LoadType_RW and SDL_RWops discussion 17:48 Conclussion and final demo ►YouTube Channel:    / mikeshah   ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/...