• 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
How to set resolution of NSImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set resolution of NSImage?


  • Subject: How to set resolution of NSImage?
  • From: Sergey Mastykash <email@hidden>
  • Date: Thu, 4 Dec 2003 17:03:32 +0200

I need to create image with resolution 600 PDI. Default resolution is the resolution 72 DPI (as in current device).
As I know, that resolution isn't the property of NSImage, it's the property of representation. OK.

But why, when I change size of NSImageRep, the resolution doesn't change, while pixel size remains the same?

Can anyone send me sample of how to do it?

Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Function to escape illegal XML characters in NSString
  • Next by Date: Re: RTF Style names
  • Previous by thread: Re: Function to escape illegal XML characters in NSString
  • Next by thread: Re: RTF Style names
  • Index(es):
    • Date
    • Thread