Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/zxing-cpp/wrappers/ios/Sources/Wrapper/Reader/ZXIBarcodeReader.h @ 3:2c135c81b16c
MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:44:09 +0200 |
| parents | b50eed0cc0ef |
| children |
comparison
equal
deleted
inserted
replaced
| 0:6015a75abc2d | 3:2c135c81b16c |
|---|---|
| 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 |
