Sha256: adf471d3c8366b41d8c6b73ac245c99bbcd27bf1d1f9d28596a3ca530bcb0e1c
Contents?: true
Size: 433 Bytes
Versions: 88
Compression:
Stored size: 433 Bytes
Contents
class CIImage def uiimage(scale=nil, orientation=nil) if scale orientation ||= UIImageOrientationUp return UIImage.imageWithCIImage(self, scale: scale, orientation: orientation) else return UIImage.imageWithCIImage(self) end end def ciimage return self end def apply_filter(filter) filter.setValue(self, forKey: 'inputImage') return filter.valueForKey('outputImage') end end
Version data entries
88 entries across 88 versions & 1 rubygems