![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Encode a frame to a file on the filesystem
#include <img.h>
int img_write_file( img_lib_t ilib,
const char* path,
const img_encode_callouts_t* callouts,
img_t* img );
img
This function encodes a frame to a file on the filesystem. This function is only capable of encoding a single frame. A codec is chosen based on the extension included in the provided filename.
The file will be automatically unlinked if the encode fails for any reason.
Image library
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
img_encode_callouts_t, img_t, img_lib_attach()
![]() |
![]() |
![]() |
![]() |