• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: sending image through network
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending image through network


  • Subject: Re: sending image through network
  • From: Guy English <email@hidden>
  • Date: Fri, 23 Mar 2007 19:54:29 -0400

NSImage doesn't always archive the bitmap data - if you go back and read through the NSImage documentation you'll see that there are times when it'll just archive a reference to the image source. Like a URL or filename.

Rather than archiving the NSImage archive [image TIFFRepresentation] and send that over the wire. On the other end recreate the image with image = [[NSImage alloc] initWithData: unarchivedTIFFData];

That's my guess without seeing code anyway.

-Guy

On 22-Mar-07, at 6:22 AM, sheen mac wrote:

Hi All,

I am doing a text chat application in which I send the image
and text with the help NSArchiver to other meachine.Its working
in one way.In one side,I got image and text.But the other side,
I got the picture.I got this error "Could not create CGImageDestinationRef for output type 'public.tiff'.


How to solve this.

Kindly help me.

Thanks In Advance,
Sheen


--------------------------------- TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. _______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
40gmail.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >sending image through network (From: sheen mac <email@hidden>)

  • Prev by Date: Re: Is there a way to re-compile a framework for Intel Mac?
  • Next by Date: NSTable and custom NSCell issues
  • Previous by thread: sending image through network
  • Next by thread: Compiler has trouble distinguishing between a class and its superclass
  • Index(es):
    • Date
    • Thread