Re: Direct pixel access
Re: Direct pixel access
- Subject: Re: Direct pixel access
- From: Trygve Inda <email@hidden>
- Date: Sat, 25 Sep 2004 14:10:28 +0000
>> 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.
It is an offscreen representation and I need to get at the ARGB data
directly, pixel by pixel, row by row. Basicall I will have loaded two jpegs
and need to combine them to form a third image.
T.
_______________________________________________
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