MBImageReturnProcessorResult


@interface MBImageReturnProcessorResult : MBProcessorResult <NSCopying>

Processor that will simply save given image.

  • 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 (readonly, strong, nonatomic, nullable) MBImage *rawImage;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var encodedImage: Data? { get }