Jens, Quincey,
Thank you for all the valuable info. My image dpi is indeed higher than 72.
Combining your info, I elected to use, for now:

NSImage* tempImage = [NSImage imageNamed: @"image1"];


NSImageRep *rep = [tempImage bestRepresentationForDevice: nil];

    int width = (int)rep.pixelsWide;

    int height = (int)rep.pixelsHigh;



    [tempImage setSize:NSMakeSize(width, height)];


[tempImage drawAtPoint:point

                fromRect: NSZeroRect

               operation: NSCompositeSourceOver

                fraction: 1.0];



    [tempImage release];


Thanks again,
Ben
_______________________________________________

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