camera_roll_photo_fmt_t

The supported image file format extensions on the camera roll.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_ROLL_PHOTO_FMT_DEFAULT = 0   
      CAMERA_ROLL_PHOTO_FMT_JPG   
      CAMERA_ROLL_PHOTO_FMT_PNG   
} camera_roll_photo_fmt_t;

Since:

BlackBerry 10.0.0

Data:

CAMERA_ROLL_PHOTO_FMT_DEFAULT
Use the system-specified default photo file format extension.
CAMERA_ROLL_PHOTO_FMT_JPG
Image files are saved to the camera roll with a ".jpg" extension.
CAMERA_ROLL_PHOTO_FMT_PNG
Image files are saved to the camera roll with a ".png" extension.

Library:

libcamapi (For the qcc command, use the -l camapi option to link against this library)

Description:

These extensions are only used to generate filenames. The actual formatting of the image data is the responsibility of the application writing to the file.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus