NSImage and NSImageView issues (not drawing correctly)

2008-04-23 Thread Nick Rogers
Hi, 1. I'm using: NSImage *image = [[NSImage alloc] initWithData:data]; NSImageRep *imageRep = [image bestRepresentationForDevice:nil]; NSImage *imageToBeDrawn = [[NSImage alloc] init]; [imageToBeDrawn addRepresentation:imageRep]; if ([imageToBeDrawn isValid] == YES) [previewImage

Re: NSImage and NSImageView issues (not drawing correctly)

2008-04-23 Thread Michael Vannorsdel
You might need to specify a size for some formats for your imageToBeDrawn object. On Apr 23, 2008, at 10:27 AM, Nick Rogers wrote: Hi, 1. I'm using: NSImage *image = [[NSImage alloc] initWithData:data]; NSImageRep *imageRep = [image bestRepresentationForDevice:nil]; NSImage *imageToBeDrawn