When building with configure/make, you can build and install them normally and the configure script will detect and use them. SD元IMAGE_VENDORED allows switching between system and vendored libraries. When building with CMake, you can enable the appropriate SD元IMAGE_* options defined in CMakeLists.txt. Support for AVIF, JPEG-XL, TIFF, and WebP are not included by default because of the size of the decode libraries, but you can get them by running external/download.sh This library is under the zlib License, see the file "LICENSE.txt" for details. SDL_Surface *IMG_ReadXPMFromArray(char **xpm) Īn example program 'showimage' is included, with source in examples/showimage.cĭocumentation is also available online at To create a surface from an XPM image included in C source, use: Note that IMG_Load_RW cannot load TGA images. Where type is a string specifying the format (i.e. SDL_Surface *IMG_LoadTyped_RW(SDL_RWops *src, SDL_bool freesrc, char *type) SDL_Surface *IMG_Load_RW(SDL_RWops *src, SDL_bool freesrc) It can also load AVIF, JPEG-XL, TIFF, and WebP images, depending on build options (see the note below for details.) It can load BMP, GIF, JPEG, LBM, PCX, PNG, PNM (PPM/PGM/PBM), QOI, TGA, XCF, XPM, and simple SVG format images. This is a simple library to load images of various formats as SDL surfaces. It is very easy to use and does a good job of staying out of your way, as it rests in the system tray and is integrated into the Windows context menu.The latest version of this library is available from GitHub: ImgDrive is a application for users who need a simple, reliable drive emulator that enables them to mount disc image files saved to various formats.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |