MBPImageReturnProcessorResult

Objective-C


@interface MBPImageReturnProcessorResult : MBPProcessorResult <NSCopying>

Swift

class MBPImageReturnProcessorResult : MBPProcessorResult, NSCopying

Processor that will simply save given image.

  • Returns the raw image saved by the processor. If no image was saved by processor, returns null. NOTE: Internal buffers of the returned image are valid as long as Result object (this) is alive.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) MBPImage *rawImage;

    Swift

    var rawImage: MBPImage? { get }
  • JPEG-encoded image or nil, depending on whether image encoding was enabled.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSData *encodedImage;

    Swift

    var encodedImage: Data? { get }