<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Image/init(decorative:scale:orientation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ImageV10decorative5scale11orientationACSo10CGImageRefa_14CoreFoundation7CGFloatVAC11OrientationOtcfc"
  },
  "title" : "init(decorative:scale:orientation:)"
}
-->

# init(decorative:scale:orientation:)

Creates an unlabeled, decorative image based on a Core Graphics image
instance.

```
init(decorative cgImage: CGImage, scale: CGFloat, orientation: Image.Orientation = .up)
```

## Parameters

`cgImage`

The base graphical image.

`scale`

The scale factor for the image,
with a value like `1.0`, `2.0`, or `3.0`.

`orientation`

The orientation of the image. The default is
[`Image.Orientation.up`](/documentation/SwiftUI/Image/Orientation/up).

## Discussion

SwiftUI ignores this image for accessibility purposes.

---

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)