pgf revision 285830
1178476Sjb
2178476Sjb#------------------------------------------------------------------------------
3178476Sjb# $File: pgf,v 1.1 2013/04/22 15:19:49 christos Exp $
4178476Sjb# pgf: file(1) magic for Progressive Graphics File (PGF)
5178476Sjb#
6178476Sjb# <http://www.libpgf.org/uploads/media/PGF_Details_01.pdf>
7178476Sjb# 2013 by Philipp Hahn <pmhahn debian org>
8178476Sjb0 string PGF Progressive Graphics image data,
9178476Sjb!:mime image/x-pgf
10178476Sjb>3	string	2	version %s,
11178476Sjb>3	string	4	version %s,
12178476Sjb>3	string	5	version %s,
13178476Sjb>3	string	6	version %s,
14178476Sjb#	PGFPreHeader
15178476Sjb#>>4	lelong	x	header size %d,
16178476Sjb#	PGFHeader
17178476Sjb>>8	lelong	x	%d x
18178476Sjb>>12	lelong	x	%d,
19178476Sjb>>16	byte	x	%d levels,
20178476Sjb>>17	byte	x	compression level %d,
21178476Sjb>>18	byte	x	%d bpp,
22178476Sjb>>19	byte	x	%d channels,
23178476Sjb>>20	clear	x
24178476Sjb>>20	byte	0	bitmap,
25178476Sjb>>20	byte	1	gray scale,
26178476Sjb>>20	byte	2	indexed color,
27178476Sjb>>20	byte	3	RGB color,
28178476Sjb>>20	byte	4	CYMK color,
29178476Sjb>>20	byte	5	HSL color,
30178476Sjb>>20	byte	6	HSB color,
31178476Sjb>>20	byte	7	multi-channel,
32178476Sjb>>20	byte	8	duo tone,
33178476Sjb>>20	byte	9	LAB color,
34178476Sjb>>20	byte	10	gray scale 16,
35178476Sjb>>20	byte	11	RGB color 48,
36178476Sjb>>20	byte	12	LAB color 48,
37178476Sjb>>20	byte	13	CYMK color 64,
38178476Sjb>>20	byte	14	deep multi-channel,
39178476Sjb>>20	byte	15	duo tone 16,
40178476Sjb>>20	byte	17	RGBA color,
41178476Sjb>>20	byte	18	gray scale 32,
42178476Sjb>>20	byte	19	RGB color 12,
43178476Sjb>>20	byte	20	RGB color 16,
44178476Sjb>>20	byte	255	unknown format,
45178476Sjb>>20	default	x	format 
46178476Sjb>>>20	byte	x	\b %d,
47178476Sjb>>21	byte	x	%d bpc
48178476Sjb#	PGFPostHeader
49178476Sjb#	Level-Sizes
50178476Sjb#>>(4.l+4)	lelong x level 0 size: %d
51178476Sjb#>>(4.l+8)	lelong x level 1 size: %d
52178476Sjb#>>(4.l+12)	lelong x level 2 size: %d
53178476Sjb