1267843Sdelphij
2267843Sdelphij#------------------------------------------------------------------------------
3267843Sdelphij# $File: pgf,v 1.1 2013/04/22 15:19:49 christos Exp $
4267843Sdelphij# pgf: file(1) magic for Progressive Graphics File (PGF)
5267843Sdelphij#
6267843Sdelphij# <http://www.libpgf.org/uploads/media/PGF_Details_01.pdf>
7267843Sdelphij# 2013 by Philipp Hahn <pmhahn debian org>
8267843Sdelphij0 string PGF Progressive Graphics image data,
9267843Sdelphij!:mime image/x-pgf
10267843Sdelphij>3	string	2	version %s,
11267843Sdelphij>3	string	4	version %s,
12267843Sdelphij>3	string	5	version %s,
13267843Sdelphij>3	string	6	version %s,
14267843Sdelphij#	PGFPreHeader
15267843Sdelphij#>>4	lelong	x	header size %d,
16267843Sdelphij#	PGFHeader
17267843Sdelphij>>8	lelong	x	%d x
18267843Sdelphij>>12	lelong	x	%d,
19267843Sdelphij>>16	byte	x	%d levels,
20267843Sdelphij>>17	byte	x	compression level %d,
21267843Sdelphij>>18	byte	x	%d bpp,
22267843Sdelphij>>19	byte	x	%d channels,
23267843Sdelphij>>20	clear	x
24267843Sdelphij>>20	byte	0	bitmap,
25267843Sdelphij>>20	byte	1	gray scale,
26267843Sdelphij>>20	byte	2	indexed color,
27267843Sdelphij>>20	byte	3	RGB color,
28267843Sdelphij>>20	byte	4	CYMK color,
29267843Sdelphij>>20	byte	5	HSL color,
30267843Sdelphij>>20	byte	6	HSB color,
31267843Sdelphij>>20	byte	7	multi-channel,
32267843Sdelphij>>20	byte	8	duo tone,
33267843Sdelphij>>20	byte	9	LAB color,
34267843Sdelphij>>20	byte	10	gray scale 16,
35267843Sdelphij>>20	byte	11	RGB color 48,
36267843Sdelphij>>20	byte	12	LAB color 48,
37267843Sdelphij>>20	byte	13	CYMK color 64,
38267843Sdelphij>>20	byte	14	deep multi-channel,
39267843Sdelphij>>20	byte	15	duo tone 16,
40267843Sdelphij>>20	byte	17	RGBA color,
41267843Sdelphij>>20	byte	18	gray scale 32,
42267843Sdelphij>>20	byte	19	RGB color 12,
43267843Sdelphij>>20	byte	20	RGB color 16,
44267843Sdelphij>>20	byte	255	unknown format,
45267843Sdelphij>>20	default	x	format 
46267843Sdelphij>>>20	byte	x	\b %d,
47267843Sdelphij>>21	byte	x	%d bpc
48267843Sdelphij#	PGFPostHeader
49267843Sdelphij#	Level-Sizes
50267843Sdelphij#>>(4.l+4)	lelong x level 0 size: %d
51267843Sdelphij#>>(4.l+8)	lelong x level 1 size: %d
52267843Sdelphij#>>(4.l+12)	lelong x level 2 size: %d
53