xref: /freebsd/contrib/file/magic/Magdir/icc (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1
2#------------------------------------------------------------------------------
3# $File: icc,v 1.1 2013/01/08 01:43:18 christos Exp $
4# icc:  file(1) magic for International Color Consortium file formats
5
6#
7# Color profiles as per the ICC's "Image technology colour management -
8# Architecture, profile format, and data structure" specification.
9# See
10#
11#	http://www.color.org/specification/ICC1v43_2010-12.pdf
12#
13# for Specification ICC.1:2010 (Profile version 4.3.0.0).
14#
15# Bytes 36 to 39 contain a generic profile file signature of "acsp";
16# bytes 40 to 43 "may be used to identify the primary platform/operating
17# system framework for which the profile was created".
18#
19# There are other fields that might be worth dumping as well.
20#
21
22# This appears to be what's used for Apple ColorSync profiles.
23# Instead of adding that, Apple just changed the generic "acsp" entry
24# to be for "ColorSync ICC Color Profile" rather than "Kodak Color
25# Management System, ICC Profile".
26# Yes, it's "APPL", not "AAPL"; see the spec.
2736	string		acspAPPL	ColorSync ICC Profile
28!:mime	application/vnd.iccprofile
29
30# Microsoft ICM color profile
3136	string		acspMSFT	Microsoft ICM Color Profile
32!:mime	application/vnd.iccprofile
33
34# Yes, that's a blank after "SGI".
3536	string		acspSGI\ 	SGI ICC Profile
36!:mime	application/vnd.iccprofile
37
38# XXX - is this what's used for the Sun KCMS or not?  The standard file
39# uses just "acsp" for that, but Apple's file uses it for "ColorSync",
40# and there *is* an identified "primary platform" value of SUNW.
4136	string		acspSUNW	Sun KCMS ICC Profile
42!:mime	application/vnd.iccprofile
43
44# Any other profile.
45# XXX - should we use "acsp\0\0\0\0" for "no primary platform" profiles,
46# and use "acsp" for everything else and dump the "primary platform"
47# string in those cases?
4836	string		acsp		ICC Profile
49!:mime	application/vnd.iccprofile
50
51
52