//
//  NSImage+CRGraphics.h
//  CRGraphics
//
//  Created by Yaroslav Glushchenko on 6/16/09.
//  Copyright 2009 Corner-A. All rights reserved.
//


//////////////////////////////////////////////////////////////////////
// NSImage category for convert to CIImage
//////////////////////////////////////////////////////////////////////
@interface NSImage (CRGraphics)

- (CIImage *)CIImage;
+ (NSImage *)imageWithCIImage:(CIImage*)image;
+ (NSImage *)imageWithCIImage:(CIImage*)image flipped:(BOOL)flipped;

- (CGRect)extent;

@end