• 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: 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

References: 
 >Re: Direct pixel access (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: How to do a progress window the "right way"?
  • Next by Date: Re: Multiple Inheritence (Was: Is _objc_flush_caches_(Class) necessary to swizzle methods?)
  • Previous by thread: Re: Direct pixel access
  • Next by thread: Re: Direct pixel access
  • Index(es):
    • Date
    • Thread