• 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
NSImage Size Discrepancies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSImage Size Discrepancies


  • Subject: NSImage Size Discrepancies
  • From: Dan Saul <email@hidden>
  • Date: Sun, 13 Mar 2005 00:52:34 -0600

Hello there, I have an NSImage I create at run time of an image
(http://catsdorule.torpedobird.com/img/blogpix/husky.jpg) all my code
works except for one small problem. The Size of the NSImage is
different then the actual image, running NSLog(@"%f",[backgroundImage
size].width); shows that the width is 245.759995 when infact it is
1024.

Is there any way to fix this or to get the actual size so I can set it manually?

-- Dan Saul
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSImage Size Discrepancies
      • From: Stéphane Sudre <email@hidden>
  • Prev by Date: Re: Reliable way to get application (Apple) menu?
  • Next by Date: Re: Reliable way to get application (Apple) menu?
  • Previous by thread: Re: [newbie:] elegant way using multithreading with NSThreads
  • Next by thread: Re: NSImage Size Discrepancies
  • Index(es):
    • Date
    • Thread