Re: NSImage + Distributed Objects
Re: NSImage + Distributed Objects
- Subject: Re: NSImage + Distributed Objects
- From: "James Trankelson" <email@hidden>
- Date: Tue, 14 Aug 2007 06:13:17 -0400
It looks like sending the NSData from the TIFFRepresentation worked.
Thanks!
-jt
On 8/14/07, Adam R. Maxwell <email@hidden> wrote:
>
> On Aug 13, 2007, at 21:38, James Trankelson wrote:
>
> > I've been trying to use distributed objects lately, and have
> > encountered something I can't seem to understand.
> >
> > I've got an application that's asking a remote object for an image.
> > The remote machine is creating the image from a View, and sending this
> > image back to the requesting machine.
>
> [...]
>
> > (I've tried sending both NSImage and NSBitmapImageRep types without
> > luck)
>
> Try sending -[NSImage TIFFRepresentation] instead, which should
> certainly work. Passing an NSImage directly will not work, but you
> might be able to archive an NSImage or NSBitmapImageRep with
> NSArchiver and send that (I haven't tried that technique myself).
>
> --
> Adam
>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden