• 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: Optimized pixel manipulation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimized pixel manipulation


  • Subject: Re: Optimized pixel manipulation
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 8 Oct 2008 17:25:44 +0200

CGImage does not provide an efficient way to update , but maybe CGImage is not what you want.
Where your image come from, why do you need a CGImageRef and what are you trying to do with it ?



Le 8 oct. 08 à 17:01, Christian Giordano a écrit :

I'm modifying frequently the pixels of the images, the way I found is
creating a copy of the data
(CGDataProviderCopyData(CGImageGetDataProvider(image));) modify the
pixels and then create a new one. I'm facing performance issues and I
fear that all this allocating and deallocating is not helping. Is
there a way I could have access and modify the pixels of a CGImage
without copying them?

Thanks, chr
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Optimized pixel manipulation
      • From: "Christian Giordano" <email@hidden>
References: 
 >Optimized pixel manipulation (From: "Christian Giordano" <email@hidden>)

  • Prev by Date: Optimized pixel manipulation
  • Next by Date: Re: Getting pointer to NSWindowController
  • Previous by thread: Optimized pixel manipulation
  • Next by thread: Re: Optimized pixel manipulation
  • Index(es):
    • Date
    • Thread