Properly dealing with images
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.