     var base: ImageBaseProtocol
     
     @_inlineable
-    public init(image: Image, width: Int, height: Int, resampling algorithm: ResamplingAlgorithm = .linear) {
+    public init(image: Image, width: Int, height: Int, resampling algorithm: ResamplingAlgorithm = .linear, antialias: Bool = false) {
         self.width = width
         self.height = height
-        self.base = image.base.resampling(s_width: image.width, width: width, height: height, transform: SDTransform.scale(x: Double(width) / Double(image.width), y: Double(height) / Double(image.height)), algorithm: algorithm)
-    }
-    
-    @_inlineable
-    public init(image: Image, width: Int, height: Int, transform: SDTransform, resampling algorithm: ResamplingAlgorithm = .linear) {
+        self.base = image.base.resampling(s_width: image.width, width: width, height: height, transform: SDTransform.scale(x: Double(width) / Double(image.width), y: Double(height) / Double(image.height)), algorithm: algorithm, antialias: antialias)
+    }
+    
+    @_inlineable
+    public init(image: Image, width: Int, height: Int, transform: SDTransform, resampling algorithm: ResamplingAlgorithm = .linear, antialias: Bool = false) {
         self.width = width
         self.height = height
-        self.base = image.base.resampling(s_width: image.width, width: width, height: height, transform: transform, algorithm: algorithm)
+        self.base = image.base.resampling(s_width: image.width, width: width, height: height, transform: transform, algorithm: algorithm, antialias: antialias)
     }
     
     @_inlineable

            result.withUnsafeMutableBytes { (buffer: UnsafeMutablePointer<Pixel>) in
                
                @inline(__always)
                func filling(operation: (Point) -> Pixel) {
                    
                    var buffer = buffer
                    

    
    @_versioned
    @inline(__always)
    func convolve<ColorModel: ColorModelProtocol>(source: UnsafePointer<ColorPixel<ColorModel>>, width: Int, height: Int, point: Point, kernel_size: Int, kernel: (Double) -> Double) -> ColorPixel<ColorModel> {
        
        var pixel = ColorPixel<ColorModel>()
        var t: Double = 0
        
        let _x = Int(point.x)
