Re: NSImage loads garbage every other time?!?
Re: NSImage loads garbage every other time?!?
- Subject: Re: NSImage loads garbage every other time?!?
- From: Jens Alfke <email@hidden>
- Date: Sat, 23 Jan 2010 10:29:15 -0800
On Jan 22, 2010, at 11:36 PM, sebi wrote:
> why it reports such a strange image dimension for the other image (which is in fact 96x152, so roughly 4.17 times that big)...
Check the DPI of that image. NSImage respects the DPI setting, so if it's >72 it'll scale down the dimensions accordingly.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden