• 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
Image Resolution problem in NSBitmapImageRep
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image Resolution problem in NSBitmapImageRep


  • Subject: Image Resolution problem in NSBitmapImageRep
  • From: 김경옥 <email@hidden>
  • Date: Mon, 21 Mar 2005 08:51:49 +0900

Hi,
 
I don't know why the image resolution is always resetting to 72 dpi when the image resolution is smaller than 10.
Even if I change the resolution of an image in PhotoShop to 9 or 5 for example, the size and pixels become the same size in the NSBitmapImageRep of the NSImage in my application.
So my application displays the resolution of the image as 72 dpi.
 
I'm calculating the resolution by size and pixels in NSBitmapImageRep as follows;
Resolution = 72 * pixelsWide/widthSize
 
Is there any other information of the NSImage I can recognize the resolution under 10 by?
 
Please let me know what I can do for this problem.
 
Thanks.
 
Gyongock Kim
 
 
 _______________________________________________
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

  • Prev by Date: What's up with UI interaction and NSMutableArray+NSAutoReleasePop()?
  • Next by Date: Re: Creating a large Cocoa project - tutorials? - OT: underscore use
  • Previous by thread: Re: What's up with UI interaction and NSMutableArray+NSAutoReleasePop()?
  • Next by thread: dyld: Too many open files, errno = 24
  • Index(es):
    • Date
    • Thread