             let blackAndWhite = input.applyingFilter("CIColorControls", withInputParameters: paramsColor)
             return blackAndWhite.applyingFilter("CIExposureAdjust", withInputParameters: paramsExposure)
             #endif
-        }
-        
+        })
+    }
+}
+
+// MARK: - Deprecated
+extension Filter {
+    @available(*, deprecated, message: "Use init(transform:) instead.", renamed: "init(transform:)")
+    public init(tranform: @escaping Transformer) {
+        self.transform = tranform
     }
 }
 

            #else
            return filter.outputImage?.cropping(to: input.extent)
            #endif
        }
    }
    
    public typealias ColorElement = (CGFloat, CGFloat, CGFloat, CGFloat)

    /// Tint filter which will apply a tint color to images.
    public static var tint: (Color) -> Filter = {
        color in
        Filter(transform: { input in
            let colorFilter = CIFilter(name: "CIConstantColorGenerator")!
            colorFilter.setValue(CIColor(color: color), forKey: kCIInputColorKey)
            
