Re: NSData and NSImage

2008-10-23 Thread David Duncan
On Oct 23, 2008, at 11:30 AM, Andy Bell wrote: I have an NSData buffer with valid JPEG data which I can save to disk using writeToFile: and view the image easily. When I come to create an NSImage object from the same data I get an object returned back from initWithData: but the size proper

NSData and NSImage

2008-10-23 Thread Andy Bell
Hi, I have an NSData buffer with valid JPEG data which I can save to disk using writeToFile: and view the image easily. When I come to create an NSImage object from the same data I get an object returned back from initWithData: but the size property has dumb values. What does this mean? Is this