We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8718f6 commit d00632bCopy full SHA for d00632b
Sources/coreml-stable-diffusion-swift/helper/HelperImage.swift
@@ -18,7 +18,6 @@ import AppKit
18
/// - toSize: Fit to size
19
/// - Returns: NSImage
20
@available(macOS 13.1, *)
21
-@MainActor
22
public func getNSImage(from data : Data?, cropped toSize : NSSize? = nil) async -> NSImage? {
23
24
guard let value = data else{
0 commit comments