xref: /minix3/external/bsd/file/dist/magic/magdir/pgf (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc
2*0a6a1f1dSLionel Sambuc#------------------------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# $File: pgf,v 1.1 2013/04/22 15:19:49 christos Exp $
4*0a6a1f1dSLionel Sambuc# pgf: file(1) magic for Progressive Graphics File (PGF)
5*0a6a1f1dSLionel Sambuc#
6*0a6a1f1dSLionel Sambuc# <http://www.libpgf.org/uploads/media/PGF_Details_01.pdf>
7*0a6a1f1dSLionel Sambuc# 2013 by Philipp Hahn <pmhahn debian org>
8*0a6a1f1dSLionel Sambuc0 string PGF Progressive Graphics image data,
9*0a6a1f1dSLionel Sambuc!:mime image/x-pgf
10*0a6a1f1dSLionel Sambuc>3	string	2	version %s,
11*0a6a1f1dSLionel Sambuc>3	string	4	version %s,
12*0a6a1f1dSLionel Sambuc>3	string	5	version %s,
13*0a6a1f1dSLionel Sambuc>3	string	6	version %s,
14*0a6a1f1dSLionel Sambuc#	PGFPreHeader
15*0a6a1f1dSLionel Sambuc#>>4	lelong	x	header size %d,
16*0a6a1f1dSLionel Sambuc#	PGFHeader
17*0a6a1f1dSLionel Sambuc>>8	lelong	x	%d x
18*0a6a1f1dSLionel Sambuc>>12	lelong	x	%d,
19*0a6a1f1dSLionel Sambuc>>16	byte	x	%d levels,
20*0a6a1f1dSLionel Sambuc>>17	byte	x	compression level %d,
21*0a6a1f1dSLionel Sambuc>>18	byte	x	%d bpp,
22*0a6a1f1dSLionel Sambuc>>19	byte	x	%d channels,
23*0a6a1f1dSLionel Sambuc>>20	clear	x
24*0a6a1f1dSLionel Sambuc>>20	byte	0	bitmap,
25*0a6a1f1dSLionel Sambuc>>20	byte	1	gray scale,
26*0a6a1f1dSLionel Sambuc>>20	byte	2	indexed color,
27*0a6a1f1dSLionel Sambuc>>20	byte	3	RGB color,
28*0a6a1f1dSLionel Sambuc>>20	byte	4	CYMK color,
29*0a6a1f1dSLionel Sambuc>>20	byte	5	HSL color,
30*0a6a1f1dSLionel Sambuc>>20	byte	6	HSB color,
31*0a6a1f1dSLionel Sambuc>>20	byte	7	multi-channel,
32*0a6a1f1dSLionel Sambuc>>20	byte	8	duo tone,
33*0a6a1f1dSLionel Sambuc>>20	byte	9	LAB color,
34*0a6a1f1dSLionel Sambuc>>20	byte	10	gray scale 16,
35*0a6a1f1dSLionel Sambuc>>20	byte	11	RGB color 48,
36*0a6a1f1dSLionel Sambuc>>20	byte	12	LAB color 48,
37*0a6a1f1dSLionel Sambuc>>20	byte	13	CYMK color 64,
38*0a6a1f1dSLionel Sambuc>>20	byte	14	deep multi-channel,
39*0a6a1f1dSLionel Sambuc>>20	byte	15	duo tone 16,
40*0a6a1f1dSLionel Sambuc>>20	byte	17	RGBA color,
41*0a6a1f1dSLionel Sambuc>>20	byte	18	gray scale 32,
42*0a6a1f1dSLionel Sambuc>>20	byte	19	RGB color 12,
43*0a6a1f1dSLionel Sambuc>>20	byte	20	RGB color 16,
44*0a6a1f1dSLionel Sambuc>>20	byte	255	unknown format,
45*0a6a1f1dSLionel Sambuc>>20	default	x	format
46*0a6a1f1dSLionel Sambuc>>>20	byte	x	\b %d,
47*0a6a1f1dSLionel Sambuc>>21	byte	x	%d bpc
48*0a6a1f1dSLionel Sambuc#	PGFPostHeader
49*0a6a1f1dSLionel Sambuc#	Level-Sizes
50*0a6a1f1dSLionel Sambuc#>>(4.l+4)	lelong x level 0 size: %d
51*0a6a1f1dSLionel Sambuc#>>(4.l+8)	lelong x level 1 size: %d
52*0a6a1f1dSLionel Sambuc#>>(4.l+12)	lelong x level 2 size: %d
53