Skip to content

Releases: libsdl-org/SDL_image

3.4.4

01 May 21:00

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Prevent memory overflow with corrupt PNG image
  • Fixed memory overflow with corrupt LBM image
  • Fixed crash when decoding an invalid XCF image
  • Fixed out of bound read in GIF decoder
  • Fixed graphical glitch when decoding some animated GIFs
  • Fixed chunk alignment in the ANI encoder and decoder
  • Reject invalid TGA images with 0 width or height
  • Fixed AVIF loop count calculation
  • Add animation metadata to the first frame in an IMG_Animation

2.8.12

01 May 19:30

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed memory overflow with corrupt LBM image
  • Fixed crash when decoding an invalid XCF image
  • Fixed out of bound read in GIF decoder
  • Reject invalid TGA images with 0 width or height

3.4.2

04 Apr 22:03

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Non-animated images can now be loaded as single frame animations
  • Fixed animated WebP frame composition
  • Fixed potential buffer overflow in tRNS handling
  • Fixed out of bounds read in XCF image loader (CVE-2026-35444)

2.8.10

04 Apr 21:55

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed animated WebP frame composition
  • Fixed out of bounds read in XCF image loader (CVE-2026-35444)

3.4.0

22 Jan 01:04

Choose a tag to compare

This is a major release, adding support for animated cursors, clipboard images, SDL GPU textures, saving more image formats, and loading and saving animated image sequences.

Here are the detailed API changes:

  • Added IMG_GetClipboardImage() to get the image currently in the clipboard
  • Added IMG_isANI() to detect animated cursors
  • Added IMG_CreateAnimatedCursor() to create an animated cursor from an animation
  • Added functions to save images:
    • IMG_Save()
    • IMG_SaveTyped_IO()
    • IMG_SaveBMP()
    • IMG_SaveBMP_IO()
    • IMG_SaveCUR()
    • IMG_SaveCUR_IO()
    • IMG_SaveGIF()
    • IMG_SaveGIF_IO()
    • IMG_SaveICO()
    • IMG_SaveICO_IO()
    • IMG_SaveTGA()
    • IMG_SaveTGA_IO()
    • IMG_SaveWEBP()
    • IMG_SaveWEBP_IO()
  • Added functions to load images into GPU textures:
    • IMG_LoadGPUTexture()
    • IMG_LoadGPUTexture_IO()
    • IMG_LoadGPUTextureTyped_IO()
  • Added functions to load animations:
    • IMG_LoadANIAnimation_IO()
    • IMG_LoadAPNGAnimation_IO()
    • IMG_LoadAVIFAnimation_IO()
  • Added functions to load animations a frame at a time:
    • IMG_CreateAnimationDecoder()
    • IMG_CreateAnimationDecoder_IO()
    • IMG_CreateAnimationDecoderWithProperties()
    • IMG_GetAnimationDecoderFrame()
    • IMG_ResetAnimationDecoder()
    • IMG_CloseAnimationDecoder()
    • IMG_GetAnimationDecoderProperties()
    • IMG_GetAnimationDecoderStatus()
  • Added functions to save animations:
    • IMG_SaveAnimation()
    • IMG_SaveAnimationTyped_IO()
    • IMG_SaveANIAnimation_IO()
    • IMG_SaveAPNGAnimation_IO()
    • IMG_SaveAVIFAnimation_IO()
    • IMG_SaveGIFAnimation_IO()
    • IMG_SaveWEBPAnimation_IO()
  • Added functions to save animations a frame at a time:
    • IMG_CreateAnimationEncoder()
    • IMG_CreateAnimationEncoder_IO()
    • IMG_CreateAnimationEncoderWithProperties()
    • IMG_AddAnimationEncoderFrame()
    • IMG_CloseAnimationEncoder()

3.3.4

16 Jan 18:36

Choose a tag to compare

3.3.4 Pre-release
Pre-release

This is an SDL_image 3.4.0 release candidate, so please let us know if you run into any issues with it!

Changes since 3.3.2:

  • Added functions to load images into GPU textures:
    • IMG_LoadGPUTexture()
    • IMG_LoadGPUTexture_IO()
    • IMG_LoadGPUTextureTyped_IO()

3.3.2

15 Jan 22:29

Choose a tag to compare

3.3.2 Pre-release
Pre-release

This is an SDL_image 3.4.0 release candidate, so please let us know if you run into any issues with it!

Changes:

  • Added IMG_GetClipboardImage() to get the image currently in the clipboard
  • Added IMG_isANI() to detect animated cursors
  • Added IMG_CreateAnimatedCursor() to create an animated cursor from an animation
  • Added functions to save images:
    • IMG_Save()
    • IMG_SaveTyped_IO()
    • IMG_SaveBMP()
    • IMG_SaveBMP_IO()
    • IMG_SaveCUR()
    • IMG_SaveCUR_IO()
    • IMG_SaveGIF()
    • IMG_SaveGIF_IO()
    • IMG_SaveICO()
    • IMG_SaveICO_IO()
    • IMG_SaveTGA()
    • IMG_SaveTGA_IO()
    • IMG_SaveWEBP()
    • IMG_SaveWEBP_IO()
  • Added functions to load animations:
    • IMG_LoadANIAnimation_IO()
    • IMG_LoadAPNGAnimation_IO()
    • IMG_LoadAVIFAnimation_IO()
  • Added functions to load animations a frame at a time:
    • IMG_CreateAnimationDecoder()
    • IMG_CreateAnimationDecoder_IO()
    • IMG_CreateAnimationDecoderWithProperties()
    • IMG_GetAnimationDecoderFrame()
    • IMG_ResetAnimationDecoder()
    • IMG_CloseAnimationDecoder()
    • IMG_GetAnimationDecoderProperties()
    • IMG_GetAnimationDecoderStatus()
  • Added functions to save animations:
    • IMG_SaveAnimation()
    • IMG_SaveAnimationTyped_IO()
    • IMG_SaveANIAnimation_IO()
    • IMG_SaveAPNGAnimation_IO()
    • IMG_SaveAVIFAnimation_IO()
    • IMG_SaveGIFAnimation_IO()
    • IMG_SaveWEBPAnimation_IO()
  • Added functions to save animations a frame at a time:
    • IMG_CreateAnimationEncoder()
    • IMG_CreateAnimationEncoder_IO()
    • IMG_CreateAnimationEncoderWithProperties()
    • IMG_AddAnimationEncoderFrame()
    • IMG_CloseAnimationEncoder()

3.2.6

01 Jan 06:02

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Improved palette handling in STB backend
  • Updated vendored libraries
  • Updated examples and documentation

3.2.4

03 Mar 22:16

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed alpha in less than 32-bit ICO and CUR images

2.8.8

03 Mar 22:10

Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed alpha in less than 32-bit ICO and CUR images