summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic/Magdir/icc
blob: 37fa30e8cb8cf0813667ae1d8e49ba3235ff665c (plain)
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
50
51

#------------------------------------------------------------------------------
# $File: icc,v 1.1 2013/01/08 01:43:18 christos Exp $
# icc:  file(1) magic for International Color Consortium file formats

#
# Color profiles as per the ICC's "Image technology colour management -
# Architecture, profile format, and data structure" specification.
# See
#
#	http://www.color.org/specification/ICC1v43_2010-12.pdf
#
# for Specification ICC.1:2010 (Profile version 4.3.0.0).
#
# Bytes 36 to 39 contain a generic profile file signature of "acsp";
# bytes 40 to 43 "may be used to identify the primary platform/operating
# system framework for which the profile was created".
#
# There are other fields that might be worth dumping as well.
#

# This appears to be what's used for Apple ColorSync profiles.
# Instead of adding that, Apple just changed the generic "acsp" entry
# to be for "ColorSync ICC Color Profile" rather than "Kodak Color
# Management System, ICC Profile".
# Yes, it's "APPL", not "AAPL"; see the spec.
36	string		acspAPPL	ColorSync ICC Profile
!:mime	application/vnd.iccprofile

# Microsoft ICM color profile
36	string		acspMSFT	Microsoft ICM Color Profile
!:mime	application/vnd.iccprofile

# Yes, that's a blank after "SGI".
36	string		acspSGI\ 	SGI ICC Profile
!:mime	application/vnd.iccprofile

# XXX - is this what's used for the Sun KCMS or not?  The standard file
# uses just "acsp" for that, but Apple's file uses it for "ColorSync",
# and there *is* an identified "primary platform" value of SUNW.
36	string		acspSUNW	Sun KCMS ICC Profile
!:mime	application/vnd.iccprofile

# Any other profile.
# XXX - should we use "acsp\0\0\0\0" for "no primary platform" profiles,
# and use "acsp" for everything else and dump the "primary platform"
# string in those cases?
36	string		acsp		ICC Profile
!:mime	application/vnd.iccprofile


OpenPOWER on IntegriCloud