• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: fast bitmap image scaling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >fast bitmap image scaling (From: Ben Zotto <email@hidden>)

  • Prev by Date: Re: nstask with admin privs
  • Next by Date: forwardInvocation: and keeping compiler happy
  • Previous by thread: Re: fast bitmap image scaling
  • Next by thread: Re: fast bitmap image scaling
  • Index(es):
    • Date
    • Thread