Barcode Xpress Mobile for iOS
|
00001 /************************************************************** 00002 * Copyright 2011 - Accusoft Corporation, Tampa Florida. * 00003 * This sample code is provided to Accusoft licensees "as is" * 00004 * with no restrictions on use or modification. No warranty * 00005 * for use of this sample code is provided by Accusoft. * 00006 **************************************************************/ 00007 00015 #import <Foundation/Foundation.h> 00016 #import "BarcodeXpressIOS.h" 00017 00021 @interface BXAuxFunctions : NSObject { } 00022 00051 +(void)getPixelData :(CGImageRef)inImage :(size_t *)width :(size_t *)height :(long *)bpp :(long *)stride :(unsigned char**)gdata; 00052 00067 +(void)YUVtoRGBA:(uint8_t*)yuvData width:(size_t)width height:(size_t)height rgbData:(uint8_t*)rgbData; 00068 00077 +(UIImage*)binarizeUIImage:(UIImage*)inImage; 00078 00090 +(UIImage*)binarizeGrayscaleImage:(const uint8_t*)inImage width:(size_t)width height:(size_t)height; 00091 00100 +(const char*)BarcodeTypeToString:(enum BarcodeTypes)barcodeType; 00101 00102 @end