I have the following code: CIFilter* vertFlipFilter = [CIFilter filterWithName: @"CIAffineTransform"]; NSAffineTransform* vertFlipTransform = [NSAffineTransform transform]; CIImage* theImage = [[CIImage alloc] initWithCGImage:imageOne]; [vertFlipTransform translateXBy:100. yBy:1000]; [vertFlipFilter setDefaults]; [vertFlipFilter setValue:theImage forKey:@"inputImage"]; [vertFlipFilter setValue:vertFlipTransform forKey:@"inputTransform"]; [theImage release]; theImage = [[vertFlipFilter valueForKey:@"outputImage"] retain];
Which produces an output image that's identical to the input image... i.e. not translated. If I replace the translateXBy:... with rotate or scale, it works just great. Can someone tell me what's different about the translate transform? Thanks, Eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com