Re: Fastest way to resize an image?
Re: Fastest way to resize an image?
- Subject: Re: Fastest way to resize an image?
- From: Randall Meadows <email@hidden>
- Date: Thu, 20 Nov 2008 10:23:02 -0700
On Nov 19, 2008, at 11:51 PM, Ken Ferry wrote:
however I found out that just using the setSize: method of NSImage
was unreliable
-[NSImage setSize:] doesn't change the pixels of an image, it changes
the natural size that the image is drawn at. If you try to write the
NSImage back out as a TIFF, say, then what you've done is modify the
DPI.
Does setting -setScalesWhenResized: appropriately help in this
situation?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden