On Apr 5, 2008, at 8:28 PM, Quincey Morris wrote:

On Apr 5, 2008, at 16:45, Mike R. Manzano wrote:

Unfortunately, that still didn't work. The resultant images continue to be pixelated, as you can see here:

http://instantvoodoomagic.com/stickycapture.png


IIRC this came up on the list a couple of weeks ago. You need to set the interpolation quality in the graphics context to NSImageInterpolationHigh because the default value of "low" just replicates pixels.



The other thing you might want to do for speed is draw differently based on whether or not you are in a live resize. Use -inLiveResize to check in your drawRect: and possibly set the interpolation to low during a resize and high at other times.

->Ben

--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

[EMAIL PROTECTED]
740.590.0009

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to