Home
last modified time | relevance | path

Searched refs:cgImage (Results 1 – 25 of 40) sorted by relevance

12

/expo/packages/expo-image-picker/ios/
H A DUIImage+fixOrientation.swift50 guard let cgImage = self.cgImage, in fixOrientation() variable
51 let colorSpace = cgImage.colorSpace, in fixOrientation()
55 bitsPerComponent: cgImage.bitsPerComponent, in fixOrientation()
58 bitmapInfo: cgImage.bitmapInfo.rawValue) in fixOrientation()
70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation()
72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
78 let result = UIImage(cgImage: resultCgImage) in fixOrientation()
H A DMediaHandler.swift337 guard let cgImage = image.cgImage?.cropping(to: to) else { in crop() variable
340 return UIImage(cgImage: cgImage, in crop()
577 guard var cgImage = CGImageSourceCreateImageAtIndex(imageSource, frameIndex, nil), variable
583 cgImage = cgImage.cropping(to: cropRect!)!
588 CGImageDestinationAddImage(imageDestination, cgImage, frameProperties as CFDictionary)
/expo/ios/versioned/sdk49/ExpoImagePicker/
H A DUIImage+fixOrientation.swift50 guard let cgImage = self.cgImage, in fixOrientation() variable
51 let colorSpace = cgImage.colorSpace, in fixOrientation()
55 bitsPerComponent: cgImage.bitsPerComponent, in fixOrientation()
58 bitmapInfo: cgImage.bitmapInfo.rawValue) in fixOrientation()
70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation()
72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
78 let result = UIImage(cgImage: resultCgImage) in fixOrientation()
H A DMediaHandler.swift337 guard let cgImage = image.cgImage?.cropping(to: to) else { in crop() variable
340 return UIImage(cgImage: cgImage, in crop()
577 guard var cgImage = CGImageSourceCreateImageAtIndex(imageSource, frameIndex, nil), variable
583 cgImage = cgImage.cropping(to: cropRect!)!
588 CGImageDestinationAddImage(imageDestination, cgImage, frameProperties as CFDictionary)
/expo/ios/versioned/sdk48/ExpoImagePicker/
H A DUIImage+fixOrientation.swift50 guard let cgImage = self.cgImage, in fixOrientation() variable
51 let colorSpace = cgImage.colorSpace, in fixOrientation()
55 bitsPerComponent: cgImage.bitsPerComponent, in fixOrientation()
58 bitmapInfo: cgImage.bitmapInfo.rawValue) in fixOrientation()
70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation()
72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
78 let result = UIImage(cgImage: resultCgImage) in fixOrientation()
H A DMediaHandler.swift317 guard let cgImage = image.cgImage?.cropping(to: to) else { in crop() variable
320 return UIImage(cgImage: cgImage, in crop()
550 guard var cgImage = CGImageSourceCreateImageAtIndex(imageSource, frameIndex, nil), variable
556 cgImage = cgImage.cropping(to: cropRect!)!
561 CGImageDestinationAddImage(imageDestination, cgImage, frameProperties as CFDictionary)
/expo/ios/versioned/sdk47/ExpoImagePicker/
H A DUIImage+fixOrientation.swift50 guard let cgImage = self.cgImage, in fixOrientation() variable
51 let colorSpace = cgImage.colorSpace, in fixOrientation()
55 bitsPerComponent: cgImage.bitsPerComponent, in fixOrientation()
58 bitmapInfo: cgImage.bitmapInfo.rawValue) in fixOrientation()
70 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.height, height: self.size.width)) in fixOrientation()
72 ctx.draw(cgImage, in: CGRect(x: 0, y: 0, width: self.size.width, height: self.size.height)) in fixOrientation()
78 let result = UIImage(cgImage: resultCgImage) in fixOrientation()
/expo/packages/expo-image-manipulator/ios/
H A DImageManipulations.swift62 guard let cgImage = image.cgImage else { in manipulate() variable
77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate()
113 guard let cgImage = image.cgImage?.cropping(to: rect) else { in manipulate() variable
116 return UIImage(cgImage: cgImage, scale: image.scale, orientation: image.imageOrientation) in manipulate()
124 guard let cgImage = image.cgImage else { in fixImageOrientation() variable
127 guard var colorSpace = cgImage.colorSpace else { in fixImageOrientation()
166 bitsPerComponent: cgImage.bitsPerComponent, in fixImageOrientation()
180 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.height, height: image.size.width)) in fixImageOrientation()
182 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height)) in fixImageOrientation()
188 return UIImage(cgImage: newCGImage) in fixImageOrientation()
H A DImageManipulatorModule.swift31 "width": newImage.cgImage?.width ?? 0, in manipulateImage()
32 "height": newImage.cgImage?.height ?? 0, in manipulateImage()
/expo/ios/versioned/sdk49/ExpoImageManipulator/
H A DImageManipulations.swift62 guard let cgImage = image.cgImage else { in manipulate() variable
77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate()
113 guard let cgImage = image.cgImage?.cropping(to: rect) else { in manipulate() variable
116 return UIImage(cgImage: cgImage, scale: image.scale, orientation: image.imageOrientation) in manipulate()
124 guard let cgImage = image.cgImage else { in fixImageOrientation() variable
127 guard var colorSpace = cgImage.colorSpace else { in fixImageOrientation()
166 bitsPerComponent: cgImage.bitsPerComponent, in fixImageOrientation()
180 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.height, height: image.size.width)) in fixImageOrientation()
182 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height)) in fixImageOrientation()
188 return UIImage(cgImage: newCGImage) in fixImageOrientation()
H A DImageManipulatorModule.swift31 "width": newImage.cgImage?.width ?? 0, in manipulateImage()
32 "height": newImage.cgImage?.height ?? 0, in manipulateImage()
/expo/ios/versioned/sdk48/ExpoImageManipulator/
H A DImageManipulations.swift62 guard let cgImage = image.cgImage else { in manipulate() variable
77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate()
113 guard let cgImage = image.cgImage?.cropping(to: rect) else { in manipulate() variable
116 return UIImage(cgImage: cgImage, scale: image.scale, orientation: image.imageOrientation) in manipulate()
124 guard let cgImage = image.cgImage else { in fixImageOrientation() variable
127 guard let colorSpace = cgImage.colorSpace else { in fixImageOrientation()
163 bitsPerComponent: cgImage.bitsPerComponent, in fixImageOrientation()
177 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.height, height: image.size.width)) in fixImageOrientation()
179 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height)) in fixImageOrientation()
185 return UIImage(cgImage: newCGImage) in fixImageOrientation()
/expo/ios/versioned/sdk47/ExpoImageManipulator/
H A DImageManipulations.swift62 guard let cgImage = image.cgImage else { in manipulate() variable
77 context.draw(cgImage, in: CGRect(origin: origin, size: image.size)) in manipulate()
113 guard let cgImage = image.cgImage?.cropping(to: rect) else { in manipulate() variable
116 return UIImage(cgImage: cgImage, scale: image.scale, orientation: image.imageOrientation) in manipulate()
124 guard let cgImage = image.cgImage else { in fixImageOrientation() variable
127 guard let colorSpace = cgImage.colorSpace else { in fixImageOrientation()
163 bitsPerComponent: cgImage.bitsPerComponent, in fixImageOrientation()
177 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.height, height: image.size.width)) in fixImageOrientation()
179 … context.draw(cgImage, in: CGRect(x: 0, y: 0, width: image.size.width, height: image.size.height)) in fixImageOrientation()
185 return UIImage(cgImage: newCGImage) in fixImageOrientation()
/expo/ios/versioned/sdk48/EXBarCodeScanner/EXBarCodeScanner/
H A DBarCodeScannerModule.swift53 guard let cgImage = image?.cgImage else { in definition() variable
67 let ciImage = CIImage(cgImage: cgImage) in definition()
/expo/ios/versioned/sdk49/EXBarCodeScanner/EXBarCodeScanner/
H A DBarCodeScannerModule.swift53 guard let cgImage = image?.cgImage else { in definition() variable
67 let ciImage = CIImage(cgImage: cgImage) in definition()
/expo/packages/expo-barcode-scanner/ios/EXBarCodeScanner/
H A DBarCodeScannerModule.swift53 guard let cgImage = image?.cgImage else { in definition() variable
67 let ciImage = CIImage(cgImage: cgImage) in definition()
/expo/ios/vendored/unversioned/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DViewScreenshotService.mm57 CGImageRef cgImage = image.CGImage;
60 auto width = CGImageGetWidth(cgImage);
61 auto height = CGImageGetHeight(cgImage);
62 auto bytesPerRow = CGImageGetBytesPerRow(cgImage);
66 auto dataRef = CGDataProviderCopyData(CGImageGetDataProvider(cgImage));
/expo/ios/vendored/sdk49/@shopify/react-native-skia/ios/RNSkia-iOS/
H A DABI49_0_0ViewScreenshotService.mm57 CGImageRef cgImage = image.CGImage;
60 auto width = CGImageGetWidth(cgImage);
61 auto height = CGImageGetHeight(cgImage);
62 auto bytesPerRow = CGImageGetBytesPerRow(cgImage);
66 auto dataRef = CGDataProviderCopyData(CGImageGetDataProvider(cgImage));
/expo/packages/expo-image/ios/
H A DBlurhash.swift79 guard let provider = CGDataProvider(data: data), let cgImage = CGImage( in image()
95 return cgImage in image()
121 guard let cgImage = context.makeImage(), variable
122 let dataProvider = cgImage.dataProvider,
129 let width = cgImage.width
130 let height = cgImage.height
131 let bytesPerRow = cgImage.bytesPerRow
142 bytesPerPixel: cgImage.bitsPerPixel / 8,
H A DBlurhashLoader.swift37 completedBlock?(UIImage(cgImage: image), nil, nil, true)
/expo/ios/versioned/sdk49/ExpoImage/
H A DBlurhash.swift79 guard let provider = CGDataProvider(data: data), let cgImage = CGImage( in image()
95 return cgImage in image()
121 guard let cgImage = context.makeImage(), variable
122 let dataProvider = cgImage.dataProvider,
129 let width = cgImage.width
130 let height = cgImage.height
131 let bytesPerRow = cgImage.bytesPerRow
142 bytesPerPixel: cgImage.bitsPerPixel / 8,
H A DBlurhashLoader.swift37 completedBlock?(UIImage(cgImage: image), nil, nil, true)
/expo/ios/versioned/sdk48/ExpoImage/
H A DBlurhash.swift79 guard let provider = CGDataProvider(data: data), let cgImage = CGImage( in image()
95 return cgImage in image()
121 guard let cgImage = context.makeImage(), variable
122 let dataProvider = cgImage.dataProvider,
129 let width = cgImage.width
130 let height = cgImage.height
131 let bytesPerRow = cgImage.bytesPerRow
142 bytesPerPixel: cgImage.bitsPerPixel / 8,
H A DBlurhashLoader.swift37 completedBlock?(UIImage(cgImage: image), nil, nil, true)
/expo/packages/expo-face-detector/ios/EXFaceDetector/
H A DEXFaceDetectorModule.m83 CGImageRef cgImage = [context createCGImage:ciImage fromRect:tempImageRect];
85 UIImage *finalImage = [UIImage imageWithCGImage:cgImage];
98 CGImageRelease(cgImage);

12