The CIColorMap
CIFilter
takes a CIImage
as an input. It makes sense to generate that input image dynamically using another CIFilter
(such as CILinearGradient
) but providing the result of a filter to the color map filter will result in the following error like the following:
[CIColorMap outputImage] requires the inputGradientImage to be finite
Even though the start/end points of the gradient are specified as inputs to the CILinearGradient
filter the image itself is not finite. How can I generate a finite CIImage to pass to my filter?