mirror of
https://github.com/dyne/FreeJ.git
synced 2026-02-14 08:35:53 +01:00
CVFilter are now properly created and applied
but can't be controlled from the gui (yet)
This commit is contained in:
@@ -63,10 +63,12 @@
|
||||
|
||||
- (void)applyFilter:(CIFilter *)filter
|
||||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
[filter setValue:_image forKey:@"inputImage"];
|
||||
CIImage *outputImage = [filter valueForKey:@"outputImage"];
|
||||
[_image release];
|
||||
_image = [outputImage retain];
|
||||
[pool release];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user