-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathXFProfile.h
More file actions
49 lines (39 loc) · 1.15 KB
/
XFProfile.h
File metadata and controls
49 lines (39 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// XFProfile.h
// ExtraFile
//
// Created by Kim Asendorf on 06.05.11.
//
#import <Cocoa/Cocoa.h>
@interface XFProfile : NSObject
{
CMProfileRef xfRef;
CGColorSpaceRef xfColorspace;
CMProfileLocation xfLocation;
OSType xfClass;
OSType xfSpace;
NSString* xfName;
NSString* xfPath;
}
+ (NSArray *)arrayOfAllProfiles;
+ (NSArray *)arrayOfAllProfilesWithSpace:(OSType)space;
+ (XFProfile *)profileDefaultRGB;
+ (XFProfile *)profileDefaultGray;
+ (XFProfile *)profileDefaultCMYK;
+ (XFProfile *)profileWithIterateData:(CMProfileIterateData *)data;
- (XFProfile *)initWithIterateData:(CMProfileIterateData *)data;
+ (XFProfile *)profileWithPath:(NSString *)path;
- (XFProfile *)initWithPath:(NSString *)path;
+ (XFProfile *)profileWithGenericRGB;
- (XFProfile *)initWithGenericRGB;
+ (XFProfile *)profileWithLinearRGB;
- (XFProfile *)initWithLinearRGB;
- (CMProfileRef)ref;
- (CMProfileLocation *)location;
- (OSType)classType;
- (OSType)spaceType;
- (NSString*) path;
- (CGColorSpaceRef)colorspace;
- (NSData*)dataForCISoftproofTextureWithGridSize:(size_t)grid;
@end
CGImageRef CGImageCreateCopyWithDefaultSpace(CGImageRef image);