head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	95.09.19.18.40.42;	author root;	state Exp;
branches;
next	1.2;

1.2
date	95.04.01.10.36.11;	author root;	state Exp;
branches;
next	1.1;

1.1
date	94.10.20.20.31.11;	author root;	state Exp;
branches;
next	;


desc
@see ppicquery or comment in file.
@


1.3
log
@dunno what changed
@
text
@# Copyright (C)1994 by Valentin Hilbig and
#	Augusta Computer Dienstleistunggesellschaft mbH
# All rights reserved. No Warranty. Use of own Risk.
#
# $Id: .ppicformats,v 1.2 1995/04/01 10:36:11 root Exp root $
#
# Permission to use, copy, modify, distribute and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Valentin Hilbig or Augusta Computer
# not be used in advertising or publicity pertaining to distribution of the
# software without specific, written prior permission. Valentin Hilbig and
# Augusta Computer make no representations about the suitability of this
# software for any purpose. It is provided "as is" without express or
# implied warranty.
#
# VALENTIN HILBIG AND AUGUSTA COMPUTER DISCLAIM ALL WARRANTIES WITH REGARD TO
# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
# FITNESS, IN NO EVENT SHALL VALENTIN HILBIG OR AUGUSTA COMPUTER BE LIABLE
# FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
# IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# $Log: .ppicformats,v $
# Revision 1.2  1995/04/01  10:36:11  root
# G3 added and some little changes
#

# .ppicformats		PPIC utilities			File formats def.
#
# THIS SOFTWARE IS DEFINITIVELY IN THE PUBLIC DOMAIN AND IS ABSOLUTELY FREE!
# Thanks to Gnu for everything they are doing for users and usable software.

# This format is like that of SVR3/386 given in /etc/magic modified by this:
#	If the next line begins with =, it must also match to print out
#		the line. You should not give output on this extended lines,
#		else there might come up surprising results.
#	Fields are separated by tabs EXCLUSIVELY,
#		so that spaces can be included in strings.
#	The fourth field defines the program, which decodes the data,
#		NOT neccesarily to PPIC (like compress ...)
#		If this field is -, no program is invoked.
#
# What for are this definitions?
# They are used to supply hints to ppicpack,
# which utility should be tried next on the input
# to finally archive a packed or unpacked PPIC.
#
# Be aware: Loops are not recognised ...

0	string	HTTP/		ppicunhttpcache	cached HTTP pictures
0	string	GIF		ppicgif		GIF
0	string	VIEW		ppicpm		PM motorola
0	string	WEIV		ppicpm		PM intel
0	string	DanM		ppicmsp		MSP
0	byte	0x00
=1	byte	0x03
=2	byte	0x0c
=3	string	packed ppic
=0x0e	byte	0		ppicunpk	packed PPIC
0	long	0x0a1cd6ac	ppichex		foreign byte hex PPIC
0	long	0xacd61c0a	ppicpack	native byte hex PPIC
0	string	#define		ppicxbm		XBM
#0	string	/* XPM */	ppicxpm		XPM
0	string	P1		ppicpbm		PBM bitmap ascii
0	string	P2		ppicpbm		PBM grey   ascii
0	string	P3		ppicpbm		PBM color  ascii
0	string	P4		ppicpbm		PBM bitmap raw
0	string	P5		ppicpbm		PBM grey   raw
0	string	P6		ppicpbm		PBM color  raw
0	string	P7 332		ppicpbm		PBM similiar XV thumbnail
# Actually it is the bit sequence {any-number-of-zeros}000000000001
0	byte	0		ppicg3		FAX G3 (yuck, see packed PPIC)

# Independent JPEG group
0	byte	0xff
=1	byte	0xd8
=2	byte	0xff		djpeg		JPG to PPM

# Many formats can be processed using the PBMPLUS package
0	byte	0x59
=1	byte	0xa6
=2	byte	0x6a
=3	byte	0x95		rastoppm	SUN raster
0	string	FORM		ilbmtoppm	Amiga IFF ILBM
# Incompletely handled by PBM package (version here is very old),
# perhaps should supply a PPIC library front end.
# Does somebody have a nice TIFF to PBM (or other stream format) filter?
0	string	MM		tifftopgm	TIFF motorola
0	string	II		tifftopgm	TIFF intel
0	string	/* XPM */	xpmtoppm	XPM
0	byte	0		g3topbm		FAX G3 (yuck, see packed PPIC)
#8	string	AT		imgtoppm	Img-whatnot see below

# SCRIPT converters
# You need some other packages (see in the scripts) to convert this!
0	string	%!		ppic_ps		PS (postscript)
# Next two are not yet supported
# Any hints?
0	string	BM		ppic_bmp	BMP
0	byte	0x52
=1	byte	0xcc		ppic_rle	RLE

# Some other things
0	byte	0x1f
=1	byte	0x9d		zcat		Compressed data
0	byte	0x1f
=1	byte	0x8b
=2	byte	0x08		zcat		GZIPped data

# Incomplete magics! (< or > not possible for now)
##################################################
# ATTENTION !!! PPIC magic in Intel byte hex starts with 0x0a, too!
0	byte	0x0a		pcxtopbm	PCX
# What is in the first 8 bytes???
8	string	AT		imgtoppm	Img-whatnot
@


1.2
log
@G3 added and some little changes
@
text
@d5 1
a5 1
# $Id$
d26 4
a29 1
# $Log$
d87 1
a87 1
0	string	FORM		ilbmtopbm	Amiga IFF ILBM
@


1.1
log
@Initial revision
@
text
@d5 2
d25 2
d50 1
d63 1
a63 1
0	string	/* XPM */	ppicxpm		XPM
d71 2
d90 3
@
