<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLStyleTransfer/DataSource/images(styleImage:contentDirectory:processingOption:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML15MLStyleTransferV10DataSourceO6imagesyAE10Foundation3URLV_AISo25VNImageCropAndScaleOptionVSgtcAEmF"
  },
  "title" : "MLStyleTransfer.DataSource.images(styleImage:contentDirectory:processingOption:)"
}
-->

# MLStyleTransfer.DataSource.images(styleImage:contentDirectory:processingOption:)

The locations of a style-image file and content-image directory in the file system.

```
case images(styleImage: URL, contentDirectory: URL, processingOption: VNImageCropAndScaleOption? = .centerCrop)
```

---

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)