For the Windows platform, the simplest way is to go to https://www.libsdl.org/projects/SDL_image/ and download it.