MBImageReturnProcessorResult

Objective-C


@interface MBImageReturnProcessorResult : MBProcessorResult <NSCopying>

Swift

class MBImageReturnProcessorResult : MBProcessorResult, 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) 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 }