Smoothly decimating UIImageView images
Smoothly decimating UIImageView images
- Subject: Smoothly decimating UIImageView images
- From: Rick Mann <email@hidden>
- Date: Thu, 3 Feb 2011 12:06:25 -0800
I'm doing a photo browser of sorts, as part of a larger app. We display a few thumbnails, and if the user taps one, they're presented with the full-size image.
The problem is that I start with the large images, and when I set them on the small UIImageView, they're scaled down and look pretty bad. I have access to a better thumbnail-size version of the image, but that complicates the code to display them.
I don't see any way of changing the decimation algorithm on UIImageView or UIImage, but I did find the minificationFilter on CALayer. Changing that setting on the UIImageView had no effect. I also tried different minificationFilterBias values, to no effect.
Is there anything I can do, short of doing the interpolation myself?
TIA,
--
Rick
_______________________________________________
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