Re: Direct pixel access
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