xref: /freebsd/contrib/file/magic/Magdir/cups (revision ebacd8013fe5f7fdf9f6a5b286f6680dd2891036)
1
2#------------------------------------------------------------------------------
3# $File: cups,v 1.6 2019/04/19 00:42:27 christos Exp $
4# Cups: file(1) magic for the cups raster file format
5# From: Laurent Martelli <martellilaurent@gmail.com>
6# https://www.cups.org/documentation.php/spec-raster.html
7#
8
90	name		cups-le
10>280	lelong		x		\b, %d
11>284	lelong		x		\bx%d dpi
12>376	lelong		x		\b, %dx
13>380	lelong		x		\b%d pixels
14>388	lelong		x		%d bits/color
15>392	lelong		x		%d bits/pixel
16>400	lelong		0		ColorOrder=Chunky
17>400	lelong		1		ColorOrder=Banded
18>400	lelong		2		ColorOrder=Planar
19>404	lelong		0		ColorSpace=gray
20>404	lelong		1		ColorSpace=RGB
21>404	lelong		2		ColorSpace=RGBA
22>404	lelong		3		ColorSpace=black
23>404	lelong		4		ColorSpace=CMY
24>404	lelong		5		ColorSpace=YMC
25>404	lelong		6		ColorSpace=CMYK
26>404	lelong		7		ColorSpace=YMCK
27>404	lelong		8		ColorSpace=KCMY
28>404	lelong		9		ColorSpace=KCMYcm
29>404	lelong		10		ColorSpace=GMCK
30>404	lelong		11		ColorSpace=GMCS
31>404	lelong		12		ColorSpace=WHITE
32>404	lelong		13		ColorSpace=GOLD
33>404	lelong		14		ColorSpace=SILVER
34>404	lelong		15		ColorSpace=CIE XYZ
35>404	lelong		16		ColorSpace=CIE Lab
36>404	lelong		17		ColorSpace=RGBW
37>404	lelong		18		ColorSpace=sGray
38>404	lelong		19		ColorSpace=sRGB
39>404	lelong		20		ColorSpace=AdobeRGB
40
41# Cups Raster image format, Big Endian
420	string		RaS
43>3	string		t		Cups Raster version 1, Big Endian
44>3	string		2		Cups Raster version 2, Big Endian
45>3	string		3		Cups Raster version 3, Big Endian
46!:mime	application/vnd.cups-raster
47>0	use		\^cups-le
48
49
50# Cups Raster image format, Little Endian
511	string		SaR
52>0	string		t		Cups Raster version 1, Little Endian
53>0	string		2		Cups Raster version 2, Little Endian
54>0	string		3		Cups Raster version 3, Little Endian
55!:mime	application/vnd.cups-raster
56>0	use		cups-le
57