Re: Convert PICT to NSImage
Re: Convert PICT to NSImage
- Subject: Re: Convert PICT to NSImage
- From: Douglas Davidson <email@hidden>
- Date: Mon, 27 Jun 2005 14:19:56 -0700
On Jun 27, 2005, at 1:51 PM, Ian was here wrote:
NSFileWrapper *fileWrapper = [[[NSFileWrapper alloc]
initWithSerializedRepresentation:theData]
autorelease];
You should be using initRegularFileWithContents: here. The
"serialized representation" is a special serialized representation of
an arbitrary file wrapper, potentially including an entire directory
structure. What you have is the contents of a single file.
Douglas Davidson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden