SDL_image icon indicating copy to clipboard operation
SDL_image copied to clipboard

Image decoding for many popular formats for Simple Directmedia Layer.

Results 32 SDL_image issues
Sort by recently updated
recently updated
newest added

This is pretty minor, but I think it's worth reporting regardless: with the new STB PNG/JPG back end, reading in a JPEG image results in `IMG_GetError()` being populated with `"Not...

Hi, I downloaded the source for the latest stable release, and these didn't work, like they normally should. ``` external/download.sh mkdir build cd build ../configure make make install ``` Instead,...

I see some references to ARM code in the general source of SDL_IMAGE. But when I downloaded the latest pre-build DMG (2.6.2), XCode still sees no arm64 branch. I don't...

Hello, I'm trying to understand the benefits of using stb_image in SDL_image by default. Can you please elaborate why stb_image is used now by default? There's a number of format...

Until now I used IMG_Load to get an SDL_Surface with a palette and then did a color cycling with that on a specific 8 bit png. Now the returned SDL_Surface...

This was supported very briefly in 2019 (added in commit d3d2b9635fee99e23a79305959da66eb657329c0, removed in commit ef2488c0ffb8972f8afc67ef500ba39c49b3d9ee). Since SDL_image now prefers using single header libraries, and stb_image lacks support for palette output...

macOS CI is failing with the following error: Run cmake --build build/ --config Release --parallel --verbose ninja: error: '_sdl2test_library', needed by 'test/testimage', missing and no known rule to make it

For instance, with `-DSDL2IMAGE_PNG=OFF -DSDL2IMAGE_TESTS=ON`: ``` /work/usr/ports/graphics/sdl2_image/work/SDL_image-release-2.6.2/test/main.c:306:9: error: use of undeclared identifier 'SDL_IMAGE_SAVE_PNG' SDL_IMAGE_SAVE_PNG, ^ /work/usr/ports/graphics/sdl2_image/work/SDL_image-release-2.6.2/test/main.c:963:21: error: invalid application of 'sizeof' to an incomplete type 'const Format []' for (i...

Ideally the libjpeg loading path should have an equivalent of #418 and https://github.com/libsdl-org/SDL_image/commit/f98f0bcd9b35ba6c2f77db042cc056d245be81c6. (Originally requested by @sezero in https://github.com/libsdl-org/SDL_image/pull/431#issuecomment-1989322714)

Also: Can we not do the same in SDL2_image and SDL2_mixer? It's annoying to have one option being disabled by default in cmake while it is enabled by default in...