🍺 BREW Explorer

← all formulae

sdl2_image

brew install sdl2_image v2.8.12 Zlib

C library for loading images (PNG, JPEG, WebP, AVIF, TIFF, etc.) as SDL2 surfaces and textures.

Why you might care

Essential dependency for SDL2-based games and graphics applications that need to load image assets. Supports a wide range of modern image formats (PNG, JPEG, WebP, AVIF, JPEG-XL, TIFF, etc.) and integrates directly with SDL2's rendering pipeline. Primary use case is as a build/runtime dependency rather than a standalone tool.

Categories

Alternatives

SDL_image 1.x libjpeg-turbo libpng webp
2.5k
30-day installs · #884
11.3k
90-day · #767
32.5k
365-day · #851
952
★ GitHub stars · updated 19d ago

Runtime dependencies

Build dependencies

GitHub topics

sdl-image sdl2

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "SDL_image 1.x",
    "libjpeg-turbo",
    "libpng",
    "webp"
  ],
  "build_dependencies": [
    "autoconf",
    "automake",
    "libtool",
    "pkgconf"
  ],
  "categories": [
    "library",
    "image-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "jpeg-turbo",
    "jpeg-xl",
    "libavif",
    "libpng",
    "libtiff",
    "sdl2-compat",
    "webp"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Library for loading images as SDL surfaces and textures",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:10+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "sdl2_image",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-06-02T05:28:20Z",
  "github_readme_excerpt": "\r\nSDL_image 3.0\r\n\r\nThis is a simple library to load images of various formats as SDL surfaces.\r\nIt can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on optional libraries.\r\n\r\nThe latest version of this library is available from GitHub:\r\nhttps://github.com/libsdl-org/SDL_image/releases\r\n\r\nInstallation instructions and a quick introduction is available in\r\n[INSTALL.md](INSTALL.md)\r\n\r\nThis library is distributed under the terms of the zlib license,\r\navailable in [LICENSE.txt](LICENSE.txt).\r\n\r\nEnjoy!\r\n\r\nSam Lantinga (slouken@libsdl.org)\r\n",
  "github_repo": "libsdl-org/SDL_image",
  "github_stars": 952,
  "github_topics": [
    "sdl-image",
    "sdl2"
  ],
  "homepage": "https://github.com/libsdl-org/SDL_image",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 2469,
  "installs_365d": 32484,
  "installs_90d": 11273,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Zlib",
  "llm_generated_at": "2026-06-20T23:47:40+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "sdl2_image",
  "oldnames": [],
  "one_liner": "C library for loading images (PNG, JPEG, WebP, AVIF, TIFF, etc.) as SDL2 surfaces and textures.",
  "optional_dependencies": [],
  "rank_30d": 884,
  "rank_365d": 851,
  "rank_90d": 767,
  "raw_hash": "83c87e51d1ce45b4",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/sdl2_image.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.8.12",
  "versioned_formulae": [],
  "why_use_this": "Essential dependency for SDL2-based games and graphics applications that need to load image assets. Supports a wide range of modern image formats (PNG, JPEG, WebP, AVIF, JPEG-XL, TIFF, etc.) and integrates directly with SDL2\u0027s rendering pipeline. Primary use case is as a build/runtime dependency rather than a standalone tool."
}