# Why can't I send an NSImage across actor boundaries?

**URL:** <https://forums.swift.org/t/why-cant-i-send-an-nsimage-across-actor-boundaries/76199>\
**Category:** Using Swift\
**Tags:** concurrency\
**Created:** [November 24, 2024, 5:58pm UTC](https://forums.swift.org/t/why-cant-i-send-an-nsimage-across-actor-boundaries/76199 "2024-11-24T17:58:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ConfusedVorlon](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/confusedvorlon/32/14854_2.png) [@ConfusedVorlon](https://forums.swift.org/u/ConfusedVorlon)\
**Post date:** [November 24, 2024, 5:58pm UTC](https://forums.swift.org/t/why-cant-i-send-an-nsimage-across-actor-boundaries/76199/1 "2024-11-24T17:58:44Z")

</div>

Can anyone explain the logic of this to me?

I have a @MainActor class that handles downloading some stuff.

I want to be able to call it, let it make an image for me (if it has downloaded the appropriate resources) and send the image over.

The source class isn't going to change it after creation.

So - why is it an error for me to receive that as the result of an async function in a different isolation ?

I get that NSImage is not Sendable - but I don't get why I should care.

Is there some risk here that I have misunderstood?

---

_[View the full topic](https://forums.swift.org/t/why-cant-i-send-an-nsimage-across-actor-boundaries/76199)._
