Skip to main content

IMG_SaveAVIFAnimation_IO

Function IMG_SaveAVIFAnimation_IO 

Source
pub unsafe extern "C" fn IMG_SaveAVIFAnimation_IO(
    anim: *mut IMG_Animation,
    dst: *mut SDL_IOStream,
    closeio: bool,
    quality: c_int,
) -> bool
Expand description

Save an animation in AVIF format to an SDL_IOStream.

If closeio is true, dst will be closed before returning, whether this function succeeds or not.

Parameter: anim the animation to save.

Parameter: dst an SDL_IOStream from which data will be written to.

Parameter: closeio true to close/free the SDL_IOStream before returning, false to leave it open.

Parameter: quality the desired quality, ranging between 0 (lowest) and 100 (highest).

Returns: true on success or false on failure; call SDL_GetError() for more information.

Available Since: This function is available since SDL_image 3.4.0.

See Also: IMG_SaveAnimation

See Also: IMG_SaveAnimationTyped_IO

See Also: IMG_SaveANIAnimation_IO

See Also: IMG_SaveAPNGAnimation_IO

See Also: IMG_SaveGIFAnimation_IO

See Also: IMG_SaveWEBPAnimation_IO