First a note. The name property is declared as a CACIFilterAdditions in
CACIFilterAdditions.h.
I think you will need to draw the CIImage to your CIContext and then generate a
CGImage to capture its state for future reference and then generate a new
CIImage from the CGImage. I believe the
Thank you. I would have never found that. But what does “enabled” do? Or,
more precisely, what does “not enabled” do? If a filter is not enabled, does
that mean it is transparent and simply passes input to output? I can’t
believe something so simple in concept as a freeze filter is so
I don't know. I'm not actually trying to integrate CIFilters and Core Animation
in the way that you are doing. I remembered that you had mentioned the name
property of the CIFilter because that property is actually useful to me,
because I need a way to refer to filters which are earlier in the
On Feb 23, 2014, at 1:06 PM, Gordon Apple g...@ed4u.com wrote:
We have run into a number is issues trying to use CIFilters with CALayers:
1. When a layer is hidden, its filters, especially background filters,
should be temporarily removed, or at least bypassed. Hiding the layer
should
Apparently, my comment about not understanding this construct for
setValueForKeyPath was correct. It actually works. I finally got the
highlighting filter to work and update properly. Now I¹m trying to do
something much simpler, i.e., construct a freezeFilter. Nothing I¹ve tried
so far works.
We have run into a number is issues trying to use CIFilters with CALayers:
1. When a layer is hidden, its filters, especially background filters,
should be temporarily removed, or at least bypassed. Hiding the layer
should make if effectively non-existent in the displayed layer stack.
2. The