Hi,

I've got a CALayer with a CGImage as its contents. The CALayer's size is smaller than the image's original size, so the image is scaled down. But the scaled image is pixelated and I'd like a smooth image.

I think that I need to tell my CALayer to use interpolation rather than linear scaling, right?
I've tried to do that but this doesn't work:
imageLayer.minificationFilter = kCAFilterNearest;

What am I missing?
Can I do that directly in CoreAnimation or is it something I have to do to my CGImage before passing it to the CALayer?

Thanks,
-Martin.
_______________________________________________

Cocoa-dev mailing list ([email protected])

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