SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

Introduction to SDL_image with Visual Studio

The easiest way to use SDL_image is to include it along with SDL as subprojects in your project.

We'll start by creating a simple project to build and run hello.c

Support for AVIF, TIFF, and WebP are dynamically loaded at runtime. You can choose to include those DLLs and license files with your application if you want support for those formats, or omit them if they are not needed.

Support for JPEG-XL is not included by default because of the size of the decode library, but you can get it by running external/Get-GitModules.ps1, and then building libjxl and adding the LOAD_JXL preprocessor define to the SDL_image Visual Studio project.


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.