notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q3
sdl2_image Simple library to load images of various formats as SDL surfaces
2.8.8_1 graphics on this many watch lists=6 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.8.8Version of this port present on the latest quarterly branch.
Maintainer: amdmi3@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-06-21 19:56:49
Last Update: 2025-08-31 10:30:51
Commit Hash: b304d8a
People watching this port, also watch:: lua52, xev, xorg-drivers, libpciaccess
License: ZLIB
WWW:
https://github.com/libsdl-org/SDL_image
Description:
This is a simple library to load images of various formats as SDL surfaces. It 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 build options
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (19 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/sdl2_image-2.8.8_1/catalog.mk
  3. /usr/local/share/licenses/sdl2_image-2.8.8_1/LICENSE
  4. /usr/local/share/licenses/sdl2_image-2.8.8_1/ZLIB
  5. include/SDL2/SDL_image.h
  6. lib/cmake/SDL2_image/Findlibjxl.cmake
  7. lib/cmake/SDL2_image/Findwebp.cmake
  8. lib/cmake/SDL2_image/SDL2_image-shared-targets-release.cmake
  9. lib/cmake/SDL2_image/SDL2_image-shared-targets.cmake
  10. lib/cmake/SDL2_image/SDL2_imageConfig.cmake
  11. lib/cmake/SDL2_image/SDL2_imageConfigVersion.cmake
  12. lib/libSDL2_image-2.0.so
  13. lib/libSDL2_image-2.0.so.0
  14. lib/libSDL2_image-2.0.so.0.800.8
  15. lib/libSDL2_image.so
  16. libdata/pkgconfig/SDL2_image.pc
  17. @owner
  18. @group
  19. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • sdl2_image>0:graphics/sdl2_image
To install the port:
cd /usr/ports/graphics/sdl2_image/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/sdl2_image
  • pkg install sdl2_image
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: sdl2_image
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1741178810 SHA256 (libsdl-org-SDL_image-release-2.8.8_GH0.tar.gz) = 2bd2c17cab3744ebfe7351ded8c70dc2078d8c7c24eb9f4ebb1b26a623e2a747 SIZE (libsdl-org-SDL_image-release-2.8.8_GH0.tar.gz) = 6925189

Packages (timestamps in pop-ups are UTC):
sdl2_image
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.8.82.8.8_12.0.52.8.82.8.8_1-2.0.5-
FreeBSD:13:quarterly2.8.82.8.8-2.8.82.8.82.6.3_42.6.3_42.6.3_4
FreeBSD:14:latest2.8.82.8.8_1-2.8.82.8.8_12.6.3-2.6.3
FreeBSD:14:quarterly2.8.82.8.8-2.8.82.8.82.6.3_42.6.3_42.6.3_4
FreeBSD:15:latest2.8.82.8.8_1n/a2.8.8n/a2.6.3_42.6.3_42.6.3_5
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-2.8.8_1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. ninja : devel/ninja
  3. sdl2-config : devel/sdl20
Library dependencies:
  1. libavif.so : graphics/libavif
  2. libjxl.so : graphics/libjxl
  3. libpng.so : graphics/png
  4. libtiff.so : graphics/tiff
  5. libwebp.so : graphics/webp
  6. libSDL2.so : devel/sdl20
  7. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Libraries
  1. astro/mepo
  2. audio/klystrack
  3. devel/fifechan
  4. devel/flatzebra
  5. devel/py-game
  6. devel/py-game_sdl2
  7. devel/py-pysdl2
Expand this list (96 items / 89 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/sdl2pp
  3. emulators/amiberry
  4. emulators/aranym
  5. emulators/emu64
  6. emulators/fbneo
  7. emulators/vt100
  8. games/3omns
  9. games/abbayedesmorts
  10. games/afternoonstalker
  11. games/alephone
  12. games/assaultcube
  13. games/barony
  14. games/blobwars
  15. games/blockattack
  16. games/brogue
  17. games/burgerspace
  18. games/cdogs-sdl
  19. games/chromium-bsu
  20. games/colobot
  21. games/cosmosmash
  22. games/devilutionX
  23. games/domino-chain
  24. games/dreamchess
  25. games/dxx-rebirth
  26. games/el
  27. games/enigma
  28. games/flare-engine
  29. games/freesynd
  30. games/gigalomania
  31. games/glob2
  32. games/griels-quest
  33. games/hedgewars
  34. games/hoverboard-sdl
  35. games/instead
  36. games/keeperrl
  37. games/lander
  38. games/lbreakouthd
  39. games/legend-of-edgar
  40. games/meandmyshadow
  41. games/mirrormagic
  42. games/naev
  43. games/nxengine
  44. games/openage
  45. games/openclaw
  46. games/openspades
  47. games/pinball
  48. games/pioneer
  49. games/pipewalker
  50. games/ponscripter-07th-mod
  51. games/py-fife
  52. games/redeclipse
  53. games/redeclipse16
  54. games/rocksndiamonds
  55. games/sauerbraten
  56. games/sdlpop
  57. games/solarus
  58. games/solarus-quest-editor
  59. games/solver
  60. games/starfighter
  61. games/stratagus
  62. games/supertux2
  63. games/tesseract
  64. games/tome4
  65. games/tome4-beta
  66. games/toppler
  67. games/trackballs
  68. games/trigger-rally
  69. games/tuxpaint
  70. games/valyriatear
  71. games/vcmi
  72. games/vectoroids
  73. games/wesnoth
  74. games/widelands
  75. graphics/cegui
  76. graphics/gource
  77. graphics/grafx2
  78. graphics/milton
  79. multimedia/nymphcast
  80. net/freerdp3
  81. sysutils/logstalgia
  82. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. devel/ponscripter-sekai*
  2. devel/py-sdl2*
  3. games/cataclysm-dda-tiles*
  4. games/manaplus*
  5. games/ponscripter-sekai*
  6. games/stonesoup-sdl*
  7. games/supertux-devel*
  8. multimedia/mlt*
  9. multimedia/mlt6*
  10. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
===> The following configuration options are available for sdl2_image-2.8.8_1: AVIF=on: AV1 Image File Format via libavif JPEG=on: JPEG image format support JXL=on: JPEG XL image format via libjxl PNG=on: PNG image format support TEST=off: Build and/or run tests TIFF=on: TIFF image format support WEBP=on: WebP image format support ===> Use 'make config' to modify these settings
Options name:
graphics_sdl2_image
USES:
cmake sdl jpeg
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libsdl-org/SDL_image/tar.gz/release-2.8.8?dummy=/
Collapse this list.

There are no commits on branch 2023Q3 for this port