Re: better image scaling?
Re: better image scaling?
- Subject: Re: better image scaling?
- From: James Chen <email@hidden>
- Date: Tue, 18 May 2004 17:01:14 +0800
Hi,
Try to use NSGraphicsContext's setImageInterpolation or
setShouldAntialias.
I haven't use these methods to do such a thing you mentioned.
But I did use them to tune the performance of my drawing code.
HTH,
James
------------------------------------
Ulead Systems Inc.
James Chen
Software Engineer
Image Div.
------------------------------------
On May 18, 2004, at 2:21 AM, matt neuburg wrote:
In my app I scale images to make thumbnails using NSImageRep
drawInRect:.
When these thumbnails are reasonably large it is easy to see that the
results are fuzzy - much fuzzier than, for example, when Photoshop
does the
same scaling. Is there anything I can do about this? I'm not very
expert on
graphics but I get the idea that there is more than way to scale. m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.
_______________________________________________
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.