Re: Resizing an image
Re: Resizing an image
- Subject: Re: Resizing an image
- From: douglas welton <email@hidden>
- Date: Thu, 11 Dec 2008 16:52:09 -0500
Hi Glenn,
Your answers a little bit non-specific, so at best I will have to give
you a non-specific response.
Two suggestions:
1) Core Image is your friend! In your case, CICrop and
CILanczosScaleTransform may be of some help.
2) CGImageRef is your other friend! In particular, see the
documentation on creating images of a particular size.
If you have more details about what you are trying to accomplish and/
or what you have tried already, then we may be able to provide a more
complete set of suggestions on how to go forward.
regards,
douglas
On Dec 11, 2008, at 8:43 AM, Glenn Bloom wrote:
Can anyone recommend a best practice for resizing an image to reduce
its
size in terms of both bytes and visible dimensions, retaining the new
smaller image and eliminating the original from memory? In how I go
about
this now, I am concerned about memory and efficiency.
thanks in advance for any help,
Glenn
_______________________________________________
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