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 (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 arch...@mail-archive.com

Reply via email to