Thanks Douglas and Nir for the pointers. I hadn't spent any
time with CIIm=
ages because as of yet there's nothing in the meat of my app
that requires =
Tiger and I was hoping to keep it that way for a couple
reasons. But it mi=
ght be the best thing to look at. In any case I'll first
try just bluntly =
using an NSAffineTranform with a fixed size destination for
the NSImage to =
see if that circumvents some of the bitmap-specific scaling.
=0A=0AI suppo=
se it's worth a shot asking if there's any way to lock and
access the pixel=
s in a view directly, or if the automatic double-buffering
of drawing can b=
e temporarily suspended?=0A=0AThanks=0ABen=0A=0A-----
Original Message ----=
=0AFrom: Nir Soffer <nirs freeshell.org>=0ATo:
douglas a. welton <douglas_w=
elton earthlink.net>=0ACc: Ben Zotto <zotto post.harvard.edu>; cocoa-dev li=
sts.apple.com=0ASent: Wednesday, January 10, 2007 4:42:35
PM=0ASubject: Re:=
fast bitmap image scaling=0A=0A=0AOn Jan 11, 2007, at
00:13, douglas a. we=
lton wrote:=0A=0AHave you tried playing with CIImages and
the CIFilter CILa=
nczosScaleTransform?=0A =0A=0A The quality is great, but it
is slow, specia=
lly on Mac mini and old macs like Emac.=0A=0A=0A=0AThe
fastest way I found =
is using CIAffineTransform - but the quality is not great.
It may be good e=
nough for animation.=0A=0A=0A=0A=0A Best Regards,=0A =0A=0A
Nir Soffer=0A =
=0A=0A=0A=0A=0A
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev lists.apple.com)
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-de
v/bond%40yahoo.com
This email sent to bond yahoo.com
|