Update from Jef Poskanzer on new Px formats.
authorIan Darwin <ian@darwinsys.com>
Wed, 10 Oct 1990 15:43:10 +0000 (15:43 +0000)
committerIan Darwin <ian@darwinsys.com>
Wed, 10 Oct 1990 15:43:10 +0000 (15:43 +0000)
magic/Magdir/images

index db6eca1add25ecb68910e8a473ba3f544467981c..a3d039b50eb2fc3eb1304c9252b90fb7b867b48f 100644 (file)
@@ -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
+