py-sdl / py-sdl2

Python ctypes wrapper around SDL2
Other
303 stars 49 forks source link

Update SDL_image bindings to 2.6.0 #238

Closed a-hurst closed 2 years ago

a-hurst commented 2 years ago

PR Description

This PR updates the bindings, docs, and tests to support the new functions, constants, and formats in SDL2_image 2.6.0. Bindings for the AVIF and JPEG XL image formats have been added but not tested, given that they are not yet available in the official libSDL binaries.

This PR also fixes a minor deprecation warning related to a Pillow unit test and adds a new sdl2.ext function load_svg for loading simple SVG files at arbitrary resolutions.

Merge Checklist