This enum defines the supported image formats for screen captures.
Synopsis:
#include <bps/screencapture.h>
typedef enum {
SCREENCAPTURE_FORMAT_FILENAME = 0
SCREENCAPTURE_FORMAT_JPG = 1
SCREENCAPTURE_FORMAT_PNG = 2
} screencapture_format_t;
Data:
- SCREENCAPTURE_FORMAT_FILENAME
- The image format will be determined by the file name extension.
- SCREENCAPTURE_FORMAT_JPG
- The image format is JPEG, regardless of the file name.
- SCREENCAPTURE_FORMAT_PNG
- The image format is PNG, regardless of the file name.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)