MBImageReturnProcessorResult


@interface MBImageReturnProcessorResult : MBProcessorResult <NSCopying>

Processor that will simply save given image.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    MB_INIT_UNAVAILABLE
  • 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) MBImage *rawImage;

    Swift

    var rawImage: MBImage? { 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 }