<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImage/applyingFilter(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIImage(im)imageByApplyingFilter:"
  },
  "title" : "applyingFilter(_:)"
}
-->

# applyingFilter(_:)

Applies the filter to an image and returns the output.

```
func applyingFilter(_ filterName: String) -> CIImage
```

## Discussion

A convenience method for applying a single filter to the method receiver and returning the output image.  Identical to [`applyingFilter(_:parameters:)`](/documentation/CoreImage/CIImage/applyingFilter(_:parameters:)) with default parameters.

> Important:
> This method, though convenient, is inefficient if used multiple times in succession. Achieve better performance by chaining filters without asking for the outputs of individual filters. For more information, see <doc://com.apple.coreimage/documentation/CoreImage/processing-an-image-using-built-in-filters>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)