sdl2_image

SDL2 image loading library for C/C++ game and graphics development

brewmacoslinux
Try with needOr install directly
Source

About

Library for loading images as SDL surfaces and textures

Commands

sdl2_image

Examples

Link SDL2_image library in a C/C++ project compilation$ gcc myapp.c -o myapp $(pkg-config --cflags --libs SDL2_image)
Check installed SDL2_image version and configuration$ pkg-config --modversion SDL2_image
Verify SDL2_image library paths for linking in build systems$ pkg-config --libs SDL2_image