sdl2_image

Install command:
brew install sdl2_image

Library for loading images as SDL surfaces and textures

https://github.com/libsdl-org/SDL_image

License: Zlib

Development: Pull requests

Formula JSON API: /api/formula/sdl2_image.json

Formula code: sdl2_image.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 2.8.12
head ⚡️ HEAD

Depends on:

jpeg-turbo 3.1.4.1 JPEG image codec that aids compression and decompression
jpeg-xl 0.11.2 New file format for still image compression
libavif 1.4.2 Library for encoding and decoding .avif files
libpng 1.6.58 Library for manipulating PNG images
libtiff 4.7.1 TIFF library and utilities
sdl2-compat 2.32.70 SDL2 compatibility layer that uses SDL3 behind the scenes
webp 1.6.0 Image format providing lossless and lossy compression for web images

Depends on when building from source:

autoconf 2.73 Automatic configure script builder
automake 1.18.1 Tool for generating GNU Standards-compliant Makefiles
libtool 2.5.4 Generic library support script
pkgconf 2.5.1 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
sdl2_image 2,282
sdl2_image --HEAD 3
Installs on Request (30 days)
sdl2_image 1,952
sdl2_image --HEAD 3
Build Errors (30 days)
sdl2_image 11
Installs (90 days)
sdl2_image 11,244
sdl2_image --HEAD 14
Installs on Request (90 days)
sdl2_image 9,388
sdl2_image --HEAD 14
Installs (365 days)
sdl2_image 32,479
sdl2_image --HEAD 39
Installs on Request (365 days)
sdl2_image 27,765
sdl2_image --HEAD 39