Re: fast bitmap image scaling
Re: fast bitmap image scaling
- Subject: Re: fast bitmap image scaling
- From: Scott Ribe <email@hidden>
- Date: Fri, 12 Jan 2007 10:51:33 -0700
- Thread-topic: fast bitmap image scaling
Look, the last time I needed to do something like this was a long time ago,
pre-Tiger, pre-CoreImage, so there may be better ways. BUT, having said
that, you could take a look at vImage in the Accelerate framework. It allows
you to directly work with pixmap buffers and provides scaling for them. From
there, I used CGImage and wrapped my buffer into a CGData provider, all
Carbon, and I don't know the equivalent Cocoa calls, because when I switched
to Cocoa I just used the call to get my custom view's CGContext and use my
old Carbon calls to draw into it.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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