CIFilter - can not change value
CIFilter - can not change value
- Subject: CIFilter - can not change value
- From: Richard Salvatierra <email@hidden>
- Date: Thu, 27 Oct 2005 14:17:32 -0400
When I enter a value for key @"inputAngle" I get:
CIHueAdjust: matrix: nil value for key definition
myFilter = [CIFilter filterWithName:@"CIHueAdjust"];
[myFilter setDefaults];
[myFilter setValue: myCIImage forKey: @"inputImage"]; //1
[myFilter setValue: [NSNumber numberWithFloat:2.09] forKey:
@"inputAngle"]; //2
CIImage *result = [myFilter valueForKey: @"outputImage"]; //3
Omitting step 2 returns the CIImage as expected - but of course
without the filter effect
Suggestions?
-Rich
_______________________________________________
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