On Aug 10, 2010, at 14:45, Brian Postow wrote:

>       NSImage* img = [NSImage alloc];
>       [img initWithData: imgData];

Well, you definitely don't want to do this. There's no guarantee that the 
initialized object returned by 'initWithData:' is img, so you could easily be 
returning an uninitialized object.

Assuming that's not the problem here, what source line is producing the "not a 
TIFF file" error?


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to