• 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
Re: better image scaling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >better image scaling? (From: matt neuburg <email@hidden>)

  • Prev by Date: Where the dictionary words are stored?
  • Next by Date: Re: disk:// and help:// security problems
  • Previous by thread: better image scaling?
  • Next by thread: Re: better image scaling?
  • Index(es):
    • Date
    • Thread