sdl2/generated/lib_sdl_image
library
Functions
-
imgFreeAnimation(Pointer<ImgAnimation> anim)
→ void
-
Dispose of an IMG_Animation and free its resources.
-
imgInit(int flags)
→ int
-
Initialize SDL_image.
-
imgIsAvif(Pointer<SdlRWops> src)
→ int
-
Detect AVIF image data on a readable/seekable SDL_RWops.
-
imgIsBmp(Pointer<SdlRWops> src)
→ int
-
Detect BMP image data on a readable/seekable SDL_RWops.
-
imgIsCur(Pointer<SdlRWops> src)
→ int
-
Detect CUR image data on a readable/seekable SDL_RWops.
-
imgIsGif(Pointer<SdlRWops> src)
→ int
-
Detect GIF image data on a readable/seekable SDL_RWops.
-
imgIsIco(Pointer<SdlRWops> src)
→ int
-
Detect ICO image data on a readable/seekable SDL_RWops.
-
imgIsJpg(Pointer<SdlRWops> src)
→ int
-
Detect JPG image data on a readable/seekable SDL_RWops.
-
imgIsJxl(Pointer<SdlRWops> src)
→ int
-
Detect JXL image data on a readable/seekable SDL_RWops.
-
imgIsLbm(Pointer<SdlRWops> src)
→ int
-
Detect LBM image data on a readable/seekable SDL_RWops.
-
imgIsPcx(Pointer<SdlRWops> src)
→ int
-
Detect PCX image data on a readable/seekable SDL_RWops.
-
imgIsPng(Pointer<SdlRWops> src)
→ int
-
Detect PNG image data on a readable/seekable SDL_RWops.
-
imgIsPnm(Pointer<SdlRWops> src)
→ int
-
Detect PNM image data on a readable/seekable SDL_RWops.
-
imgIsQoi(Pointer<SdlRWops> src)
→ int
-
Detect QOI image data on a readable/seekable SDL_RWops.
-
imgIsSvg(Pointer<SdlRWops> src)
→ int
-
Detect SVG image data on a readable/seekable SDL_RWops.
-
imgIsTif(Pointer<SdlRWops> src)
→ int
-
Detect TIFF image data on a readable/seekable SDL_RWops.
-
imgIsWebp(Pointer<SdlRWops> src)
→ int
-
Detect WEBP image data on a readable/seekable SDL_RWops.
-
imgIsXcf(Pointer<SdlRWops> src)
→ int
-
Detect XCF image data on a readable/seekable SDL_RWops.
-
imgIsXpm(Pointer<SdlRWops> src)
→ int
-
Detect XPM image data on a readable/seekable SDL_RWops.
-
imgIsXv(Pointer<SdlRWops> src)
→ int
-
Detect XV image data on a readable/seekable SDL_RWops.
-
imgLinkedVersion()
→ Pointer<SdlVersion>
-
This function gets the version of the dynamically linked SDL_image library.
-
imgLoad(String? file)
→ Pointer<SdlSurface>
-
Load an image from a filesystem path into a software surface.
-
imgLoadAnimation(String? file)
→ Pointer<ImgAnimation>
-
Load an animation from a file.
-
imgLoadAnimationRw(Pointer<SdlRWops> src, int freesrc)
→ Pointer<ImgAnimation>
-
Load an animation from an SDL_RWops.
-
imgLoadAnimationTypedRw(Pointer<SdlRWops> src, int freesrc, String? type)
→ Pointer<ImgAnimation>
-
Load an animation from an SDL datasource
-
imgLoadAvifRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a AVIF image directly.
-
imgLoadBmpRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a BMP image directly.
-
imgLoadCurRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a CUR image directly.
-
imgLoadGifAnimationRw(Pointer<SdlRWops> src)
→ Pointer<ImgAnimation>
-
Load a GIF animation directly.
-
imgLoadGifRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a GIF image directly.
-
imgLoadIcoRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a ICO image directly.
-
imgLoadJpgRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a JPG image directly.
-
imgLoadJxlRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a JXL image directly.
-
imgLoadLbmRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a LBM image directly.
-
imgLoadPcxRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a PCX image directly.
-
imgLoadPngRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a PNG image directly.
-
imgLoadPnmRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a PNM image directly.
-
imgLoadQoiRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a QOI image directly.
-
imgLoadRw(Pointer<SdlRWops> src, int freesrc)
→ Pointer<SdlSurface>
-
Load an image from an SDL data source into a software surface.
-
imgLoadSizedSvgRw(Pointer<SdlRWops> src, int width, int height)
→ Pointer<SdlSurface>
-
Load an SVG image, scaled to a specific size.
-
imgLoadSvgRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a SVG image directly.
-
imgLoadTexture(Pointer<SdlRenderer> renderer, String? file)
→ Pointer<SdlTexture>
-
Load an image from a filesystem path into a GPU texture.
-
imgLoadTextureRw(Pointer<SdlRenderer> renderer, Pointer<SdlRWops> src, int freesrc)
→ Pointer<SdlTexture>
-
Load an image from an SDL data source into a GPU texture.
-
imgLoadTextureTypedRw(Pointer<SdlRenderer> renderer, Pointer<SdlRWops> src, int freesrc, String? type)
→ Pointer<SdlTexture>
-
Load an image from an SDL data source into a GPU texture.
-
imgLoadTgaRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a TGA image directly.
-
imgLoadTifRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a TIFF image directly.
-
imgLoadTypedRw(Pointer<SdlRWops> src, int freesrc, String? type)
→ Pointer<SdlSurface>
-
Load an image from an SDL data source into a software surface.
-
imgLoadWebpAnimationRw(Pointer<SdlRWops> src)
→ Pointer<ImgAnimation>
-
Load a WEBP animation directly.
-
imgLoadWebpRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a WEBP image directly.
-
imgLoadXcfRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a XCF image directly.
-
imgLoadXpmRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a XPM image directly.
-
imgLoadXvRw(Pointer<SdlRWops> src)
→ Pointer<SdlSurface>
-
Load a XV image directly.
-
imgQuit()
→ void
-
Deinitialize SDL_image.
-
imgReadXpmFromArray(Pointer<Pointer<Int8>> xpm)
→ Pointer<SdlSurface>
-
Load an XPM image from a memory array.
-
imgReadXpmFromArrayToRgb888(Pointer<Pointer<Int8>> xpm)
→ Pointer<SdlSurface>
-
Load an XPM image from a memory array.
-
imgSaveJpg(Pointer<SdlSurface> surface, String? file, int quality)
→ int
-
Save an SDL_Surface into a JPEG image file.
-
imgSaveJpgRw(Pointer<SdlSurface> surface, Pointer<SdlRWops> dst, int freedst, int quality)
→ int
-
Save an SDL_Surface into JPEG image data, via an SDL_RWops.
-
imgSavePng(Pointer<SdlSurface> surface, String? file)
→ int
-
Save an SDL_Surface into a PNG image file.
-
imgSavePngRw(Pointer<SdlSurface> surface, Pointer<SdlRWops> dst, int freedst)
→ int
-
Save an SDL_Surface into PNG image data, via an SDL_RWops.