On May 31, 2010, at 5:38 AM, Simon Raisin wrote:

> [inputImage setScalesWhenResized:YES];
> [inputImage setSize:halfSize];

This just shrinks the image’s bounding box, without actually resampling it. In 
other words, it doubles its DPI.

If you want to create an image with half the pixel dimensions, you’d need to 
create a new empty image half the size and draw the original image into it.

—Jens_______________________________________________

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