DJI Mobile SDK Documentation

      class DJICameraOriginalPhotoSettings

      @interface DJICameraOriginalPhotoSettings : NSObject
      Header:DJICameraSettingsDef.h
      Inherits From:NSObject
      Description:

      Settings to determine the behavior for the original photos created when doing composite shooting (e.g. panorama).

      Class Members:
      Save Photos
      property
      property shouldSaveOriginalPhotos
      @property (nonatomic, readonly) BOOL shouldSaveOriginalPhotos
      Header:DJICameraSettingsDef.h
      Description:

      YES if the camera should save the original photos.

      Photo Format
      property
      property format
      @property (nonatomic, readonly) DJICameraPhotoFileFormat format
      Header:DJICameraSettingsDef.h
      Description:

      The format for the original photos if the user decides to save them. Mavic Air cannot change this setting and it will ignore this property.

      See Also:

      DJICameraPhotoFileFormat

      Save Original Image
      method
      method initWithSavingOriginalImagesEnabled
      - (instancetype)initWithSavingOriginalImagesEnabled:(BOOL)shouldSaveOriginalPhotos
      Header:DJICameraSettingsDef.h
      Description:

      Creates an instance of the configuration to decide saving the original photos or not. format will be DJICameraPhotoFileFormatJPEG. Use this constructor for Mavic Air.

      Input Parameters:
      BOOL shouldSaveOriginalPhotosYES to save the original photos.
      method initWithSavingOriginalImagesEnabled:andFormat
      - (instancetype)initWithSavingOriginalImagesEnabled:(BOOL)shouldSaveOriginalPhotos andFormat:(DJICameraPhotoFileFormat)format
      Header:DJICameraSettingsDef.h
      Description:

      Creates an instance of the configuration to decide whether saving the original images and the format.

      Input Parameters:
      BOOL shouldSaveOriginalPhotosYES to save the original images.
      DJICameraPhotoFileFormat formatThe format to save the original images.