• 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
why every image has the same resolution?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why every image has the same resolution?


  • Subject: why every image has the same resolution?
  • From: 김경옥 <email@hidden>
  • Date: Fri, 08 Oct 2004 09:25:08 +0900
  • Importance: Normal

Title: Message
Hi,
 
I got resolutions of images from - (float) dpiX { return 72.0*[theRep pixelsWide]/[theRep size].width; }
Even though the resolution of an image is 150 dpi in windows system, my cocoa app gets 72 dpi for the image.
I mean the resolution of every image turns out only 72 dpi in my cocoa app.
is it correct in MacOS?
 
Does the resolution of image depend on the system?
I thought each image has its own resolution info.
 
Thanks.
 
 
_______________________________________________
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: why every image has the same resolution?
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: Using outlets from NSView subclass
  • Next by Date: how do i launch a specific system preference?
  • Previous by thread: Re: NSCalendarDate returns wrong dayOfWeek
  • Next by thread: Re: why every image has the same resolution?
  • Index(es):
    • Date
    • Thread