On Aug 5, 2010, at 11:23, Brian Postow wrote: > the representations size is also in points.
Well, to clarify, do you really mean "size"? I would assume that imageRep.size.width == image.size.width (both are in points), but imageRep.pixelsWide would be different, if the resolution is not 72 dpi. Did you actually check pixelsWide/pixelsHigh? Incidentally, if your scenario is intentionally working with only a single image representation, then it's probably better (and, I'd say, with 10.6 definitely better) to avoid NSImage completely and stick with just NSImageRep throughout the scenario. I don't think there are any API reasons left to prefer NSImage, when multiple representations are not at issue, but others may have a more informed opinion on that subject than I do. _______________________________________________ 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