comparison mupdf-source/thirdparty/zxing-cpp/wrappers/ios/Sources/Wrapper/Reader/ZXIBarcodeReader.h @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 // Copyright 2022 KURZ Digital Solutions GmbH
2 //
3 // SPDX-License-Identifier: Apache-2.0
4
5 #import <Foundation/Foundation.h>
6 #import <CoreGraphics/CoreGraphics.h>
7 #import <CoreImage/CoreImage.h>
8 #import "ZXIResult.h"
9 #import "ZXIReaderOptions.h"
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 @interface ZXIBarcodeReader : NSObject
14 @property(nonatomic, strong) ZXIReaderOptions *options;
15
16 -(instancetype)initWithOptions:(ZXIReaderOptions*)options;
17
18 -(nullable NSArray<ZXIResult *> *)readCIImage:(nonnull CIImage *)image
19 error:(NSError *__autoreleasing _Nullable *)error;
20
21 -(nullable NSArray<ZXIResult *> *)readCGImage:(nonnull CGImageRef)image
22 error:(NSError *__autoreleasing _Nullable *)error;
23
24 -(nullable NSArray<ZXIResult *> *)readCVPixelBuffer:(nonnull CVPixelBufferRef)pixelBuffer
25 error:(NSError *__autoreleasing _Nullable *)error;
26
27 @end
28
29 NS_ASSUME_NONNULL_END