• 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
Properly dealing with images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Properly dealing with images


  • Subject: Properly dealing with images
  • From: Michael Becker <email@hidden>
  • Date: Thu, 17 Jun 2004 11:39:15 +0200

Hello all!

I really don't know how to go about this one: My application basically works with and on images. So far, everything works. I simply use NSImages to display and manipulate the image data. However, here's my problem:

NSImage doesn't seem to take into account that there are different image resolutions. I have a 1800 x 1800 pixel image at 20 pixels per inch. NSImage tells me that it's 6480 x 6480 pixels (which would be true if it was at the standard 72 pixels per inch).

I need the *real* image dimensions (in this case that would be the 1800 x 1800) because I need to calculate a quality factor for each image. And that one only depends on the image size.
I am not familiar with TIFFRepresentations / BitmapRepresentations (actually Representations in general), would they do me any good here?

Bye,
Michael
_______________________________________________
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.


  • Follow-Ups:
    • Re: Properly dealing with images
      • From: Michael Becker <email@hidden>
    • Re: Properly dealing with images
      • From: Marcel Weiher <email@hidden>
  • Prev by Date: Detail view beginner question
  • Next by Date: Re: Releasing memory
  • Previous by thread: Re: Detail view beginner question
  • Next by thread: Re: Properly dealing with images
  • Index(es):
    • Date
    • Thread