Image Resolution problem in NSBitmapImageRep
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