Exemple #1
0
 public CGImage CreateCGImage(CIImage image, CGRect fromRect, CIFormat ciImageFormat, CGColorSpace colorSpace)
 {
     return(CreateCGImage(image, fromRect, CIImage.CIFormatToInt(ciImageFormat), colorSpace));
 }
Exemple #2
0
 internal void SetInputImage(CIImage value)
 {
     SetValueForKey(value, CIFilterInputKey.Image);
 }
Exemple #3
0
 public CISampler(CIImage sourceImage, CISamplerOptions options) : this(sourceImage, options == null ? null : options.ToDictionary())
 {
 }
Exemple #4
0
 internal void SetInputImage(CIImage value)
 {
     SetValueForKey (value, CIFilterInputKey.Image);
 }
Exemple #5
0
 public static CIImage FromProvider(ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions options)
 {
     return(FromProvider(provider, width, height, CIImage.CIFormatToInt(pixelFormat), colorSpace, options == null ? null : options.Dictionary));
 }
Exemple #6
0
 public CIImage(ICIImageProvider provider, nuint width, nuint height, CIFormat pixelFormat, CGColorSpace colorSpace, CIImageProviderOptions options)
     : this(provider, width, height, CIImage.CIFormatToInt(pixelFormat), colorSpace, options == null ? null : options.Dictionary)
 {
 }
Exemple #7
0
 public static CIImage FromData(NSData bitmapData, nint bytesPerRow, CGSize size, CIFormat pixelFormat, CGColorSpace colorSpace)
 {
     return(FromData(bitmapData, bytesPerRow, size, CIImage.CIFormatToInt(pixelFormat), colorSpace));
 }
Exemple #8
0
 public CISampler FromImage(CIImage sourceImage, CISamplerOptions options)
 {
     if (options == null)
         return FromImage (sourceImage);
     return FromImage (sourceImage, options.ToDictionary ());
 }
Exemple #9
0
 public CISampler(CIImage sourceImage, CISamplerOptions options)
     : this(sourceImage, options == null ? null : options.ToDictionary ())
 {
 }
Exemple #10
0
 public CIFeature[] FeaturesInImage(CIImage image, CIImageOrientation orientation)
 {
     using (var options = NSDictionary.FromObjectsAndKeys (new NSObject [] { new NSNumber ((int) orientation) },
                                   new NSObject [] { ImageOrientation })){
         return FeaturesInImage (image, options);
     }
 }
Exemple #11
0
 public CGImage CreateCGImage(CIImage image, CGRect fromRect, CIFormat ciImageFormat, CGColorSpace colorSpace)
 {
     return CreateCGImage (image, fromRect, CIImage.CIFormatToInt (ciImageFormat), colorSpace);
 }