* Magic for rle images
@ 1994-05-22 20:10 Disaster prone simpleton
0 siblings, 0 replies; only message in thread
From: Disaster prone simpleton @ 1994-05-22 20:10 UTC (permalink / raw)
Here's a magic file entry for rle images. 24-bit images tend to produce
foo.rle size 42x42, 3 comps each 8 bits
(for arbitary, prossibly different values of 42). Also a few other things
you might like to add as well are included
----------------------------------------------------------------------
#
# magic.rle
# freely redistribuable under the GPL
#
0 short 0xcc55 rle image data
>6 short >0 %d x
>8 short >0 %d,
>2 short >0 x offset by %d,
>4 short >0 y offset by %d,
>11 byte =0 colour map
>11 byte >1 %d comps each
>12 byte =1 1 bit
>12 byte >1 %d bits
#
#magic.jpeg
#no garentees but should catch most JPEG images...
#
0 byte 0xff JPEG image data
0 byte 0xd8 JPEG image data
#
#magic.fbm
#culled from xli source
#
0 string %bitmap fbm image data
#
#magic.acorn (for people who hit acorn stuff a lot)
#I can't create either SPARK or ArcFS archives so I
#have not tested this stuff
#
0 byte 0x1a RISC OS archive
>1 string archive\000 (ArcFS format)
#
#magic.lzh
#does not seem to be present in my standard distribution magic file
#
0 string \037\240 LZH compressed data
--
Mail submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
Be sure to include Keywords: and a short description of your software.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-05-22 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-22 20:10 Magic for rle images Disaster prone simpleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox