• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage loads garbage every other time?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSImage loads garbage every other time?!? (From: sebi <email@hidden>)
 >Re: NSImage loads garbage every other time?!? (From: sebi <email@hidden>)

  • Prev by Date: Re: View Handling
  • Next by Date: Re: View Handling
  • Previous by thread: Re: NSImage loads garbage every other time?!?
  • Next by thread: Re: NSImage loads garbage every other time?!?
  • Index(es):
    • Date
    • Thread