|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
SDL_Surface *IMG_LoadJPG_RW(SDL_RWops *src)
Load src as a JPG image for use as a surface, if JPG support is compiled into the SDL_image library.
Note: If the image format loader requires initialization, it will attempt to do that the first time it is needed if you have not already called
IMG_Init to load support for your image format.
Returns: a pointer to the image as a new
SDL_Surface. NULL is returned on errors, like if JPG is not supported, or a read error.
3.1.2 IMG_Init, 3.2.3 IMG_LoadTyped_RW, 3.3.9 IMG_isJPG