So it looks like I now have a better solution for copying an image file and
reducing its size both in dimensions and in bytes, thanks to a couple of
recommendations I received. Of course, other recommendations made clear
that I need to learn more about alternative approaches:
- some
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
On Dec 11, 2008, at 5: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
: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
, so
will get back to this in the AM maybe with more thoughts as well and will
post again. Thank you both.
On Thu, Dec 11, 2008 at 2:44 PM, Steve Christensen puns...@mac.com wrote:
On Dec 11, 2008, at 5:43 AM, Glenn Bloom wrote:
Can anyone recommend a best practice for resizing an image
]
operation:NSCompositeSourceOver fraction:1.0];
[resizedImage unlockFocus];
returnresizedImage;
}
--- On Thu, 12/11/08, Glenn Bloom grb...@gmail.com wrote:
From: Glenn Bloom grb...@gmail.com
Subject: Resizing an image
To: cocoa-dev@lists.apple.com
Date: Thursday, December 11, 2008, 5