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

CIImage <-> bitmap data <-> NSImage


  • Subject: CIImage <-> bitmap data <-> NSImage
  • From: "Simon Raisin" <email@hidden>
  • Date: Wed, 17 Oct 2007 08:37:59 -0400

I have a test application that creates a CIImage instance from an on-disk
image file (jpg, tiff, bmp, etc.).

I need to apply several core image filters then obtain the raw bitmap data
for that image so that I can apply a few hand-created "filters".  I _may_
need to convert the resulting data into an NSImage.  Actually I may have to
move between an arbitrary number of a closed set of representations.

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).

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").

Any pointers would be appreciated,
CxT
_______________________________________________

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

  • Follow-Ups:
    • Re: CIImage <-> bitmap data <-> NSImage
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: Kludges when binding to 'value' of Menu Items
  • Next by Date: Re: Kludges when binding to 'value' of Menu Items
  • Previous by thread: CoreData and NSDate searches on date fields
  • Next by thread: Re: CIImage <-> bitmap data <-> NSImage
  • Index(es):
    • Date
    • Thread