Install libsdl-image1.2 by entering the following commands in the terminal:
sudo apt update sudo apt install libsdl-image1.2
Description:
Image loading library for Simple DirectMedia Layer 1.2, libraries
This is a simple library to load images of various formats as SDL surfaces. It supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV. . This package contains the shared library.
Homepage: https://www.libsdl.org/projects/SDL_image/
Version: 1.2.12-8
Section: universe/libs