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

Re: Direct pixel access


  • Subject: Re: Direct pixel access
  • From: Shawn Erickson <email@hidden>
  • Date: Fri, 24 Sep 2004 14:28:00 -0700


On Sep 24, 2004, at 1:09 PM, Trygve Inda wrote:

Are there any good tutorials around on how to do direct pixel access of a
buffer in Cocoa? I need to do some image processing and work with pixels
directly before copying the resulting image to a window.

Who owns this buffer (window, rasterized image, screen, etc.)? Basically can you better outline what you need?


In general at the Cocoa level when working with bitmap image data you are working with NSImage[1] and NSBitmapImageRep[2] instances and the online documentation for those classes and related conceptual documentation fairly well outlines how to use them.

-Shawn

[1] <http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSImage.html>

[2] <http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSBitmapImageRep.html>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Direct pixel access
      • From: Trygve Inda <email@hidden>
References: 
 >Direct pixel access (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Direct pixel access
  • Next by Date: Re: Loading a view from a nib multiple times
  • Previous by thread: Re: Direct pixel access
  • Next by thread: Re: Direct pixel access
  • Index(es):
    • Date
    • Thread