From 7867e77a94be216e7b49da93f701a03b886845c2 Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Wed, 10 Oct 1990 15:43:10 +0000 Subject: [PATCH] Update from Jef Poskanzer on new Px formats. --- magic/Magdir/images | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/magic/Magdir/images b/magic/Magdir/images index db6eca1a..a3d039b5 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -1 +1,31 @@ +# Portable BitMap stuff. +# $Header: /home/glen/git/file/cvs/file/magic/Magdir/images,v 1.2 1990/10/10 15:43:10 ian Exp $ + +# Old pbm format (most didn't have real magic number). 0 short 0x2a17 "compact bitmap" format (Poskanzer) + +# From: jef@helios.ee.lbl.gov (Jef Poskanzer) +# To: ian@sq.com +# Subject: magic +# +# I just got pointed to your file program, with all the magic numbers. +# Neat. I enclose a magic file for image formats. You already have +# a better entry for Sun rasterfiles, so ignore that one. I made this +# file by going through all the format converters in the PBMPLUS package +# and noting which ones had magic numbers. Disappointingly few of them +# did. +# +# PBMPLUS auxiliary magic numbers file +# +# All of these entries use the "string" format so that they will work on +# both big-endian and little-endian machines. + +0 string xbtoa btoa'd file + +0 string P1 PBM file +0 string P2 PGM file +0 string P3 PPM file +0 string P4 PBM "rawbits" file +0 string P5 PGM "rawbits" file +0 string P6 PPM "rawbits" file + -- 2.40.0