SDL_image 1.2.3: Loading

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 3.1 Loading

These functions create an `SDL_Surface` from image data either from a file, or SDL_RWop, or from an array of data.

> Automagic Loading

> 3.1.1 IMG_Load |  | Load from a file
> 3.1.2 IMG_Load_RW |  | Load using a SDL_RWop
> 3.1.3 IMG_LoadTyped_RW |  | Load more format specifically with a SDL_RWop

> Specific Loaders

> 3.1.4 IMG_LoadBMP_RW |  | Load BMP using a SDL_RWop
> 3.1.5 IMG_LoadPNM_RW |  | Load PNM using a SDL_RWop
> 3.1.6 IMG_LoadXPM_RW |  | Load XPM using a SDL_RWop
> 3.1.7 IMG_LoadXCF_RW |  | Load XCF using a SDL_RWop
> 3.1.8 IMG_LoadPCX_RW |  | Load PCX using a SDL_RWop
> 3.1.9 IMG_LoadGIF_RW |  | Load GIF using a SDL_RWop
> 3.1.10 IMG_LoadJPG_RW |  | Load JPG using a SDL_RWop
> 3.1.11 IMG_LoadTIF_RW |  | Load TIF using a SDL_RWop
> 3.1.12 IMG_LoadPNG_RW |  | Load PNG using a SDL_RWop
> 3.1.13 IMG_LoadTGA_RW |  | Load TGA using a SDL_RWop
> 3.1.14 IMG_LoadLBM_RW |  | Load LBM using a SDL_RWop

> Array Loaders

> 3.1.15 IMG_ReadXPMFromArray |  | Load XPM from compiled XPM data

This document was generated on June, 12 2003 using texi2html