• 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: CIImage <-> bitmap data <-> NSImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CIImage <-> bitmap data <-> NSImage


  • Subject: Re: CIImage <-> bitmap data <-> NSImage
  • From: Scott Stevenson <email@hidden>
  • Date: Wed, 17 Oct 2007 16:21:32 -0700


On Oct 17, 2007, at 5:37 AM, Simon Raisin wrote:

This doesn't seem, to me anyway, that what I am trying to do is that
uncommon, yet moving image representations between Core Image, Cocoa
(NSImage), and raw data doesn't seem very straightforward - which leads me
to believe that I am missing something. (And yes, I realize that a CIImage
is just a "recipe"; there is no underlying image representation until it is
"rendered").

Under Tiger, you can create an NSCIImageRep, and add that to your NSImage. After that, you can draw as you would any another CIImage.


In terms of getting CIImage to an NSImage, there are some details here:
<http://theocacao.com/document.page/350>


I've found several code snippets than render a CIImage instance into an
offscreen bitmap, but I've seen non-deterministic results (possibly a
problem with the code I grabbed).

It's probably an issue with that sample. It should work fine.

    - Scott
_______________________________________________

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


References: 
 >CIImage <-> bitmap data <-> NSImage (From: "Simon Raisin" <email@hidden>)

  • Prev by Date: Re: Ignored exceptions...
  • Next by Date: Re: inappropriate tool palette activation problem
  • Previous by thread: CIImage <-> bitmap data <-> NSImage
  • Next by thread: Ignored exceptions...
  • Index(es):
    • Date
    • Thread