Lines Matching +full:e +full:- +full:1137

2 #------------------------------------------------------------------------------
4 # images: file(1) magic for image formats (see also "iff", and "c-lang" for
9 # merging several one- and two-line files into here.
13 # Targa - matches `povray', `ppmtotga' and `xv' outputs
19 # Note: called by DROID "Truevision TGA Bitmap" version 1.0 via PUID x-fmt/367
23 # or theoretically 2-128 reserved for use by Truevision or 128-255 may be used for developer applic…
32 # Targa image data (strength=70=110-40) before some Commodore disc image (strength=70=70+0 ./c64) l…
35 !:strength -40
37 #>(2.S-2) belong !0x28632943
52 >>>>>>>0 use tga-image
54 >>>>>>0 use tga-image
56 >>>>>>0 use tga-image
58 >>>>>>0 use tga-image
60 >>>>>>0 use tga-image
62 >>>>>>0 use tga-image
64 0 name tga-image
66 !:mime image/x-tga
67 # Apple Uniform Type Identifier: com.truevision.tga-image
74 >2 ubyte&0xF7 1 - Map
75 >2 ubyte&0xF7 2 - RGB
78 >2 ubyte&0xF7 3 - Mono
80 # Compressed color-mapped data, using Huffman, Delta, and runlength encoding
81 >2 ubyte 32 - Color
82 # Compressed color-mapped data, using Huffman, Delta, and RLE. 4-pass quadtree- type process
83 >2 ubyte 33 - Color
87 >>3 uleshort >0 \b%d-
91 >2 ubyte&0x08 8 - RLE
104 # Image descriptor: bits 3-0 give the alpha channel depth, bits 5-4 give direction
106 >17 ubyte&0x0F >0 - %d-bit alpha
107 # bits 5-4 give direction. normal bottom left
108 >17 ubyte &0x20 - top
109 #>17 ubyte ^0x20 - bottom
110 >17 ubyte &0x10 - right
111 #>17 ubyte ^0x10 - left
112 # some info say other bits 6-7 should be zero
114 # 00 - no interleave;01 - even/odd interleave; 10 - four way interleave; 11 - reserved
115 #>17 ubyte&0xC0 0x00 - no interleave
116 >17 ubyte&0xC0 0x40 - interleave
117 >17 ubyte&0xC0 0x80 - four way interleave
118 >17 ubyte&0xC0 0xC0 - reserved
124 >18 search/4261301/s TRUEVISION-XFILE.\0
126 >>&-8 ulelong >0
128 >>>(&-4.l) uleshort 0x01EF
130 >>>>&0 string >\0 - author "%-.40s"
132 >>>>&41 string >\0 - comment "%-.80s"
136 >>>>>&-6 uleshort x %d
138 >>>>>&-8 uleshort x \b-%d
140 >>>>>&-4 uleshort x \b-%d
144 >>>>>&-8 uleshort x %d
146 >>>>>&-6 uleshort x \b:%.2d
148 >>>>>&-4 uleshort x \b:%.2d
150 >>>>&377 string >\0 - job "%-.40s"
153 >>>>>&-8 uleshort x %d
154 >>>>>&-6 uleshort x \b:%.2d
155 >>>>>&-4 uleshort x \b:%.2d
157 >>>>&424 string >\0 - %-.40s
165 >>>>&468 ulelong >0 - keycolor %#8.8x
169 >>>>>&-4 uleshort >0 - aspect %d
170 >>>>>&-2 uleshort x \b/%d
174 >>>>>&-4 uleshort >0 - gamma %d
175 >>>>>&-2 uleshort x \b/%d
177 #>>>>&480 ulelong x - col offset %#8.8x
179 #>>>>&484 ulelong x - stamp offset %#8.8x
181 #>>>>&488 ulelong x - scan offset %#8.8x
183 #>>>>&492 ubyte x - Attributes %#x
192 >3 regex/s =\^[0-9]{1,50}[\040\t\f\r\n]+[0-9]{1,50} Netpbm image data
193 >>&0 regex =[0-9]{1,50} \b, size = %s x
194 >>>&0 regex =[0-9]{1,50} \b %s
199 # skip DROID x-fmt-164-signature-id-583.pbm with ten 0 digits
204 !:mime image/x-portable-bitmap
216 !:mime image/x-portable-graymap
224 !:mime image/x-portable-pixmap
232 !:mime image/x-portable-bitmap
240 !:mime image/x-portable-greymap
248 !:mime image/x-portable-pixmap
255 # skip DROID fmt-405-signature-id-589.pam by looking for character like New Line
259 !:mime image/x-portable-arbitrarymap
268 # From: bryanh@giraffe-data.com (Bryan Henderson)
282 !:mime image/x-niff
285 # (CIFF) file. These are apparently all little-endian.
289 !:mime image/x-canon-crw
295 # These are apparently all little-endian.
299 !:mime image/x-canon-cr2
309 # Works for both the FinePix S2 Pro and the X-T3. Anybody have some more Fuji
311 # -- David Dyer-Bennet <dd-b@dd-b.net> 9-Sep-2021
312 0 string FUJIFILMCCD-RAW Fujifilm RAF raw image data
313 !:mime image/x-fuji-raf
321 0 string MM\x00\x2a TIFF image data, big-endian
326 0 string II\x2a\x00 TIFF image data, little-endian
359 >>>8 uleshort 3 \bbi-level group 3
360 >>>8 uleshort 4 \bbi-level group 4
365 >>>8 uleshort 9 \bJBIG, ITU-T T.85
366 >>>8 uleshort 0xa \bJBIG, ITU-T T.43
367 >>>8 uleshort 0x7ffe \bNeXT RLE 2-bit
372 >>>8 uleshort 0x8081 \bRLE (High-Res Cont-Tone)
421 >>8 uleshort 1 \bupper-left
422 >>8 uleshort 3 \blower-right
423 >>8 uleshort 6 \bupper-right
424 >>8 uleshort 8 \blower-left
476 >0 uleshort 0x8825 \b, GPS-Data
480 0 string MM\x00\x2b Big TIFF image data, big-endian
482 0 string II\x2b\x00 Big TIFF image data, little-endian
489 # 137 P N G \r \n ^Z \n [4-byte length] I H D R [HEAD data] [HEAD crc] ...
493 0 name png-ihdr
496 >8 ubyte x %d-bit
503 >12 ubyte 0 non-interlaced
511 >16 use png-ihdr
525 >>32 use png-ihdr
532 !:mime image/x-unknown
537 !:mime image/x-unknown
543 !:mime image/x-unknown
568 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-jif.trid.xml
573 # verfied by XnView `nconvert -fullinfo *.jif` as "Jeff's Image Format"
575 !:mime image/x-jif
583 # ITC (CMU WM) raster files. It is essentially a byte-reversed Sun raster,
588 >12 ulelong >0 %d-bit
602 !:mime image/x-miff
613 # ImageMagick-7.0.9-2/Magick++/demo/smile_anim.miff
615 >>>>0 string >\0 '%-.14s'
617 # Reference: https://imagemagick.org/script/magick-vector-graphics.php
619 # Note: all white-spaces between commands are ignored
622 >5 search/3 graphic-context ImageMagick Vector Graphic
623 # TODO: look for dangerous commands like CVE-2016-3715
625 !:mime image/x-mvg
630 >4 long 1 \b, rectangular 24-bit
631 >4 long 2 \b, rectangular 8-bit with colormap
632 >4 long 3 \b, rectangular 32-bit (24-bit with matte)
634 # FIG (Facility for Interactive Generation of figures), an object-based format
638 # https://web.archive.org/web/20070920204655/http://epb.lbl.gov/xfig/fig-format.html
642 # verified by `fig2mpdf -v bootloader.fig && file bootloader.pdf`
644 # GRR: with --keep-going option the line above gives duplicate messages
646 >&0 use image-xfig
647 # binary data variant with non ASCII text characters like Control-A or �C in thermostat.fig
649 >&0 use image-xfig
651 0 name image-xfig
654 # https://reposcope.com/mimetype/image/x-xfig
655 !:mime image/x-xfig
659 # some times after version text like: "Produced by xfig version 3.2.5-alpha5"
668 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/d/dm-fig.trid.xml
672 #!:mime application/octet-stream
673 !:mime image/x-deskmate-fig
676 # "Cabri 3D Figure" by TrID fig-cabri.trid.xml
677 # "Playmation Figure" by TrID fig-playmation.trid.xml
694 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cgm-ct.trid.xml
695 # http://standards.iso.org/ittf/PubliclyAvailableStandards/c032381_ISO_IEC_8632-4_1999(E).zip
698 # verified by LibreOffice and partly by XnView `nconvert -info *.CGM`
701 # skip SOME DROID fmt-301-signature-id-359.cgm fmt-301-signature-id-361.cgm fmt-302-signature-id-36…
702 # fmt-302-signature-id-365.cgm x-fmt-142-signature-id-350.cgm x-fmt-142-signature-id-351.cgm
704 # skip other versions of DROID fmt-301-signature-id-359.cgm fmt-301-signature-id-361.cgm fmt-302-si…
705 # fmt-302-signature-id-365.cgm x-fmt-142-signature-id-350.cgm x-fmt-142-signature-id-351.cgm
718 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cgm-bin.trid.xml
719 # https://standards.iso.org/ittf/PubliclyAvailableStandards/c032380_ISO_IEC_8632-3_1999(E).zip
721 # verified by LibreOffice and partly by XnView `nconvert -info *.CGM`
724 # skip SOME DROID fmt-303-signature-id-368.cgm fmt-304-signature-id-369.cgm fmt-305-signature-id-37…
735 >>>&-1 ubeshort >1 \b, version %u
740 # string like: 'HiJaak 2' 'Example 1' 'sahara.cgm' 'MASTERCLIPS--Art Of Business '
749 # 11111 binary (decimal 31) in the parameter field indicates that the command is in long-form
751 # bit 15 is partition flag with 1 for 'not-last' partition and 0 for 'last' partition
770 >>>-2 ubeshort !0x0040 \b, NOT_FOUND_END_METAFILE
772 # MGR bitmaps (Michael Haardt, u31b3hs@pool.informatik.rwth-aachen.de)
773 0 string yz MGR bitmap, modern format, 8-bit aligned
774 0 string zz MGR bitmap, old format, 1-bit deep, 16-bit aligned
775 0 string xz MGR bitmap, old format, 1-bit deep, 32-bit aligned
792 # Note: verified by XnView command `nconvert -fullinfo *.EPA`
794 !:mime image/x-award-bioslogo
797 !:mime image/x-award-bioslogo
800 # Note: by bitmap-awbm-v1x1009.trid.xml called "Award BIOS logo bitmap (128x126) (v1)"
801 # verified by RECOIL `recoil2png -o tmp.png IO.EPA; file tmp.png`
803 !:mime image/x-award-bioslogo
808 # http://biosgfx.narod.ru/abr-2/
810 # Note: by bitmap-awbm.trid.xml called "Award BIOS logo bitmap (v2)"
813 !:mime image/x-award-bioslogo2
814 #!:mime image/x-award-bmp
835 # verified by ImageMagick version 6.8.9-8 command `identify *.dib`
839 !:mime image/x-ms-bmp
847 # compression method: 0~no 1~RLE 8-bit/pixel 3~Huffman 1D
861 # Reference: http://csbruce.com/cbm/postings/csc19950906-1.txt
863 # defs/b/bitmap-vbm.trid.xml
864 # defs/b/bitmap-vbm-v3.trid.xml
866 # verified by RECOIL `recoil2png -o tmp.png coke_can.vbm; file tmp.png`
870 0 name bitmap-vbm
872 !:mime image/x-commodore-vbm
883 # data-encoding type: 0~uncompressed 1~RLE-compressed
885 >>>8 ubyte 1 \b, RLE-compressed
898 >>>0 use bitmap-bmp
901 >>>0 use bitmap-vbm
906 >>>0 use bitmap-vbm
909 >>>0 use bitmap-bmp
912 >>0 use bitmap-bmp
913 0 name bitmap-bmp
934 # http://entropymine.com/jason/bmpsuite/bmpsuite/q/pal8os2v2-16.bmp
935 # Note: by bitmap-bmp-v2o.trid.xml called "Windows Bitmap (v2o)"
950 # cbSize; size of file like: 241E
953 # offBits; offset to bitmap data like: 41E
1007 # cbSize; size of file like: 4E 7F46 131DE 14046h
1014 # jump 4 bytes before end of file/header to skip fmt-116-signature-id-118.dib
1016 #>>(2.l-4) ulong x PC bitmap, Windows 3.x format
1026 # compression method 2~RLE 4-bit/pixel implies also extension rle
1034 # https://www.politi-kdigital.de/favicon.ico
1047 # compression method: 0~no 1~RLE 8-bit/pixel 2~RLE 4-bit/pixel 3~Huffman 1D 6~RGBA bit field masks
1073 # number of bits per pixel (color depth); found 4 8 16 24 32 1 (fmt-119-signature-id-121.bmp) 0 (rg…
1078 # cbSize; size of file like: 8E AA 48A 999 247A 4F02 7F8A 3F88E B216E 1D4C8A 100008A
1081 # offBits; offset to bitmap data like: 8A 47A ABABABAB (fmt-119-signature-id-121.bmp)
1097 # offBits; offset to bitmap data like: 7A 7E 46A
1104 # Note: verified by command like `deark -l -d3 OS2MEMU.ICO`
1109 #>>(2.l-4) ubelong x End of header is OK!
1110 !:mime image/x-os2-ico
1117 # offBits; offset in bytes to the beginning of the bit-map pel data like 20h
1127 !:mime image/x-os2-ico
1165 # skip many Corel Photo-Paint image "CPT9FILE" by checking for positive bits offset
1167 # skip CPU-Z Report by checking for valid dib header sizes 12 or 64
1169 >>>0 use os2-ptr
1171 >>>0 use os2-ptr
1173 0 name os2-ptr
1176 !:mime image/x-ibm-pointer
1233 !:mime image/x-os2-graphics
1248 # no *.bga examples found https://www.openwith.org/file-extensions/bga/1342
1257 # no white-black pointer found
1266 # http://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-xpm.trid.xml
1267 # Note: called "X PixMap bitmap" by TrID and "X-Windows Pixmap Image" by DROID via PUID x-fmt/208
1270 # 9 byte c-comment "/* XPM */" not at the beginning like: mozicon16.xpm mozicon50.xpm (thunderbird)
1272 # skip DROID x-fmt-208-signature-id-620.xpm by looking for char array without explict length
1273 # and match mh-logo.xpm (emacs)
1275 >>>0 use xpm-image
1276 # non standard because no 9 byte c-comment "/* XPM */" like: logo.xpm in qemu package
1281 # https://www.clamav.net/downloads/production/clamav-0.104.2.tar.gz
1282 # clamav-0.104.2\libclammspack\mspack\debug.c
1284 >>>>0 use xpm-image
1286 0 name xpm-image
1289 # https://reposcope.com/mimetype/image/x-xpixmap
1291 #!:mime image/x-xpm
1292 !:mime image/x-xpixmap
1301 >>&0 regex/8 [0-9]{1,5} \b, %s
1303 >>>&0 regex/8 [0-9]{1,5} x %s
1305 >>>>&0 regex/12 [0-9]{1,9} x %s
1307 >>>>>&0 regex/14 [0-9]{1,2} \b, %s chars/pixel
1308 # non standard because not starting with 9 byte c-comment "/* XPM */"
1327 0 string Imagefile\ version- iff image data
1335 >12 ubelong >0 %d-bit,
1355 # http://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-sgi.trid.xml
1357 # "Silicon Graphics Image" by DROID via PUID x-fmt/140 and shared MIME-info database from freedesk…
1358 # verfied by ImageMagick `identify -verbose *.sgi` as SGI (Irix RGB image) and
1359 # verfied by XnView `nconvert -in sgi -info *.sgi` as SGI RGB
1363 # skip DROID x-fmt-140-signature-id-623.bw with invalid "low" dimensions "0 x 0"
1366 !:mime image/x-sgi
1377 >>4 ubeshort x \b, %d-D
1442 # Reference: https://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-fts.trid.xml
1443 # Note: called "Flexible Image Transport System bitmap" by TrID, GIMP and DROID via PUID x-fmt/383
1444 # "FITS document" with expanded acronym "Flexible Image Transport System" by shared MIME-info data…
1445 # verified as "Flexible Image Transport System" by XnView `nconvert -fullinfo M57.FIT MOON.FTS` ,
1451 # (FITS floating point formats are big-endian.)
1452 # keyword is a 1- to 8-character, left-justified ASCII string; columns that do not contain data are…
1455 # skip DROID x-fmt-383-signature-id-57.fits by check for left padding spaces of 2nd card value
1458 # Reference: https://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-fz.trid.xml
1466 >>>&0 regex [A-Z_1-2]{4,11} %s
1473 #>>>&11 string x BIT=%-0.18s
1475 >>>&20 string 8 \b, 8-bit, character or unsigned binary integer
1477 # GRR: avoid warning: Magdir\images, 1380: Warning: description `, 8-bit, character or unsigned bin…
1478 >>>&28 string 8 \b, 8-bit, character or unsigned binary integer
1481 >>>&11 string 8 \b, 8-bit, character or unsigned binary integer
1484 #>>>&19 string 08 \b, 8-bit, character or unsigned binary integer
1485 #>>>&19 string +8 \b, 8-bit, character or unsigned binary integer
1486 >>>&19 string 16 \b, 16-bit, two's complement binary integer
1487 >>>&18 string \04032 \b, 32-bit, two's complement binary integer
1488 >>>&18 string -32 \b, 32-bit, floating point, single precision
1489 >>>&18 string -64 \b, 64-bit, floating point, double precision
1490 # second 64-bit variant like: blank.fits
1491 >>>&18 string \04064 \b, 64-bit, two's complement binary integer
1494 # before optional comment 31 ASCII charactes left padded with spaces for integer (0-999) of data ax…
1495 #>>>>&0 string x NAXIS=%-0.31s
1499 # single digit 1 implies one-dimensional entity such as a spectrum or a time series (no example fou…
1500 >>>&-1 search/31/b \0401\040 1 axis
1511 >>>>&0 regex/31/s =[0-9]{1,3} %s axis
1516 >>>&9 regex =[0-9]{1,31} %s
1520 >>>>&9 regex =[0-9]{1,31} %s
1524 >>>80 string x "%-0.9s"
1527 >>>160 string x "%-0.9s"
1530 0 string This\ is\ a\ BitMap\ file Lisp Machine bit-array-file
1532 # From SunOS 5.5.1 "/etc/magic" - appeared right before Sun raster image
1545 # XWD - X Window Dump file.
1548 # http://mark0.net/download/triddefs_xml.7z/defs/x/xdm-x11.trid.xml
1549 # Note: called "X-Windows Screen Dump (X11)" by TrID and
1550 # "X-Windows Screen Dump" version X11 by DROID via PUID fmt/483
1551 # verfied by XnView `nconvert -in xwd -info *`
1552 # and ImageMagick 6.9.11 `identify -verbose *` as XWD X Windows system window dump
1553 # and `xwud -in fig41.wxd -dumpheader`
1559 # of the header, which is at least 25 4-byte longs, and the one at offset 8
1564 # pixmap_format; Pixmap format; 0~1-bit (XYBitmap) format 1~single-plane (XYPixmap) 2~bitmap with t…
1566 # pixmap_depth; Pixmap depth; value 1 - 32
1570 # skip DROID fmt-401-signature-id-618.xwd by test for existing border field
1571 >>>>96 ubelong x X-Window screen dump image data, version X11
1573 # https://reposcope.com/mimetype/image/x-xwindowdump
1574 !:mime image/x-xwindowdump
1581 # file comment if header > 100; so not in MARBLES.XWD and hardcopy-x-window-v11.xwd
1585 # pixmap_width; pixmap width like: 576 800 1014 1280 1419 NOT -1414812757=abABabABh
1587 # pixmap_height; pixmap height like: 449 454 600 704 720 1001 1024 NOT -1414812757=abABabABh
1591 # XOffset; Bitmap X offset; pixel numbers to ignore at the beginning of each scan-line
1597 # BitmapBitOrder; bit-order of image data; apparently same as ByteOrder
1601 # BitsPerPixel; Bits per pixel: 1~StaticGray and GrayScale 2-15~StaticColor and PseudoColor 16,24,3…
1631 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/x/xdm-x10.trid.xml
1632 # Note: called "X-Windows Screen Dump (X10)" by TrID and
1633 # "X-Windows Screen Dump" version X10 by DROID via PUID x-fmt/300
1634 # verfied by XnView `nconvert -in xwd -info *`
1639 # skip DROID x-fmt-300-signature-id-619.xdm by test existing border field
1640 >>36 ubeshort x X-Window screen dump image data, version X10
1641 !:mime image/x-xwindowdump
1653 # PixmapFormat; pixmap format like: 1~bitmap with two or more planes (ZPixmap) 0~single-plane bitma…
1668 # EntryNumber; number of the color-map entry like: 0
1670 # Red; red-channel value
1672 # Green; green-channel value
1674 # Blue; blue-channel value
1679 # PDS - Planetary Data System
1714 # bitmap-pi2-degas.trid.xml bitmap-pi3-degas.trid.xml
1715 # bitmap-pc1-degas.trid.xml bitmap-pc2-degas.trid.xml bitmap-pc3-degas.trid.xml
1717 # `deark -m degas -l -d2 ataribak.pi1`
1718 # XnView `nconvert -fullinfo *.p??`
1719 # DEGAS low-res uncompressed bitmap *.pi1
1721 # skip some ISO 9660 CD-ROM filesystems like plpbt.iso by test for 4 non black colors in palette en…
1726 #>>>-0 offset x FILE_SIZE=%lld
1727 # standard DEGAS low-res uncompressed bitmap *.pi1 with file size 32034
1728 >>>-0 offset =32034
1731 >>>>0 use degas-bitmap
1732 # about 61 DEGAS Elite low-res uncompressed bitmap *.pi1 with file size 32066
1733 >>>-0 offset =32066
1735 >>>>0 use degas-bitmap
1736 # about 55 DEGAS Elite low-res uncompressed bitmap *.pi1 with file size 32128
1737 >>>-0 offset =32128
1739 >>>>0 use degas-bitmap
1740 # 1 DEGAS Elite low-res uncompressed bitmap *.pi1 with file size 44834
1741 >>>-0 offset =44834
1743 >>>>0 use degas-bitmap
1744 # DEGAS mid-res uncompressed bitmap *.pi2 (strength=50) after GEM Images like:
1748 # skip many control files like gnucash-4.8.setup.exe.aria2 by test for non black in 4 palette entri…
1750 # skip control file load-v0001.aria2 and many GEM Image data like
1753 # standard DEGAS mid-res uncompressed bitmap *.pi2 with file size 32034
1754 >>-0 offset =32034
1756 >>>0 use degas-bitmap
1757 # few DEGAS Elite mid-res uncompressed bitmap *.pi2 with file size 32066
1758 >>-0 offset =32066
1760 >>>0 use degas-bitmap
1767 # http://www.atari-wiki.com/?title=IMG_file (XIMG, STTT)
1790 # DEGAS high-res uncompressed bitmap *.pi3
1794 # skip few Adobe PhotoShop Brushes like Faux-Spitzen.abr by check
1795 # for invalid Adobe PhotoShop Brush UTF16-LE string length
1798 >>>0 use degas-bitmap
1799 # Adobe PhotoShop Brush UTF16-LE string length 15 "Gitter - klein " 8 "Kreis 1 "
1804 # maybe last character of Adobe PhotoShop Brush UTF16-LE string and terminating nul char like
1805 # 006e0000 for n in "Faux-Spitzen.abr" 00310000 for 1 in "Verschiedene Spitzen.abr"
1809 # skip many Adobe Photoshop Color swatch (ANPA-Farben.aco TOYO-Farbsystem.aco) with invalid 3rd col…
1811 # skip few Adobe Photoshop Color swatch (FOCOLTONE-Farben.aco "PANTONE process coated.aco") with in…
1814 >>>>>>>0 use degas-bitmap
1815 # test for last character of Adobe PhotoShop Brush UTF16-LE string and terminating nul char
1818 >>>>>&-4 ubelong&0x00FF0000 <0x00200000
1819 >>>>>>0 use degas-bitmap
1820 # last character of Adobe PhotoShop Brush UTF16-LE note
1821 #>>>>>&-4 ubelong&0x00FF0000 >0x001F0000 \b, THAT IS ABR
1822 # DEGAS low-res compressed bitmap *.pc1 like: BATTLSHP.PC1 GNUCHESS.PC1 MEDUSABL.PC1 MOONLORD.PC1 W…
1826 # skip CRI ADX ADPCM audio (R04HT.adx R03T-15552.adx) with 44100 Hz misinterpreted as 5th color ent…
1828 # skip few (fmt-840-signature-id-1195.adx fmt-840-signature-id-1199.adx) by test for 4 first non bl…
1830 >>>>0 use degas-bitmap
1831 # DEGAS mid-res compressed bitmap *.pc2 like: abydos.pc2 ARTIS3.PC2 SMTHDRAW.PC2 STAR_2K.PC2 TX2_DE…
1835 # skip some (95/1369) PostScript Type 1 font (fmt-525-signature-id-816.pfb LUXEMBRG.PFB) with inval…
1837 >>>0 use degas-bitmap
1838 # DEGAS high-res compressed bitmap *.pc3 like: abydos.pc3 COYOTE.PC3 ELEPHANT.PC3 TX2_DEMO.PC3 SMTH…
1842 >>0 use degas-bitmap
1844 0 name degas-bitmap
1846 #!:mime application/octet-stream
1847 !:mime image/x-atari-degas
1925 # channel_delay[4]; 128 - channel delay, timebase 1/60 s
1930 # https://recoil.sourceforge.net/formats.html#Atari-8-bit
1931 # Reference: https://sourceforge.net/projects/recoil/files/recoil/6.3.4/recoil-6.3.4.tar.gz
1932 # recoil-6.3.4/recoil.c
1933 # http://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-ged.trid.xml
1937 #!:mime application/octet-stream
1938 !:mime image/x-atari-ged
1943 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/b/bitmap-b_w.trid.xml
1945 # verfied by XnView `nconvert -fullinfo "MAEDCHEN.B&W"`
1947 !:mime image/x-ilab
1981 # https://web.archive.org/web/20100206055706/http://www.qzx.com/pc-gpe/pcx.txt
1983 # Note: called "PCX image" with acronym "PiCture eXchange" by shared MIME-info database from freed…
1984 # verfied partly as pcx "Zsoft Paintbrush" format by XnView `nconvert -in pcx -fullinfo *.pcx` and
1985 # by ImageMagick version 7.1.1-21 command `identify *.pcx`
1994 # skip DROID fmt-89-signature-id-62.pcx fmt-88-signature-id-63.pcx fmt-87-signature-id-64.pcx fmt-8…
1998 #!:mime image/x-pcx
2000 # also examples like: abydos.st E-DIODE.ST MUSIC-13.ST ROSE.ST
2002 # Note: called as "PCX bitmap (v2.5)" by TrID via bitmap-pcx.trid.xml and "PCX" version 0 by DROID…
2004 # Note: called as "PCX bitmap (v2.8, palette)" by TrID via bitmap-pcx-v28p.trid.xml and "PCX" vers…
2006 # Note: called as "PCX bitmap (v2.8)" by TrID via bitmap-pcx-v28.trid.xml and "PCX" version 3 by D…
2008 # Note: called as "PCX bitmap (Win)" by TrID via bitmap-pcx-win.trid.xml and "PCX" version 4 by DR…
2010 # Note: called as "PCX bitmap (v3.0) by TrID via bitmap-pcx-v30.trid.xml and "PCX" version 5 by DR…
2013 >>>>>6 uleshort x %d] -
2017 >>>>>3 ubyte x %d-bit
2030 # Reference: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
2031 # Note: verfied by XnView `nconvert -fullinfo *.psd *.psb *.pdd`
2032 # and ImageMagick `identify -verbose *.pdd`
2034 # skip DROID x-fmt-92-signature-id-277.psd by checking valid width
2049 # width in pixels: 1-30000 1-300000 for PSB
2068 >>22 beshort x %d-bit channel
2071 # https://download.imagemagick.org/ImageMagick/download/ImageMagick-7.0.11-11.zip
2072 # ImageMagick-7.0.11-11\PerlMagick\t\input.psd
2078 # URL: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
2084 # skip few Atari DEGAS med-res bitmap (DIAGRAM1.PI2) and many ISO 9660 CD-ROM by check for invalid …
2086 # skip few Targa (bmpsuite-15col.tga rgb24_top_left_colormap.tga) by check for invalid high color s…
2096 >>>>>>>0 use adobe-aco
2099 # skip many (74/176) Atari DEGAS hi-res bitmap (*.PI3) by check for invalid low color name length (…
2101 >>>>>>>>0 use adobe-aco
2108 >>>>>>>0 use adobe-aco
2111 # skip few Atari DEGAS hi-res bitmap (pal1wb-blue.pi3) and few ABR by check for invalid "high" nil …
2113 >>>>>>>0 use adobe-aco
2115 0 name adobe-aco
2117 #!:mime application/octet-stream
2118 !:mime application/x-adobe-aco
2125 # nc; number of colors like: 20 50 86 88 126 204 300 1050 1137 1280 2092 3010 4096
2131 >>4 use aco-color
2134 >>>>14 use aco-color
2137 >>4 use aco-color-v2
2142 >>>>>&10 use aco-color-v2
2144 0 name aco-color
2174 0 name aco-color-v2
2175 >0 use aco-color
2179 >>12 ubeshort-1 x \b, %u chars
2180 # len words; UTF-16 representation of the color name like: "DIC 1s" "PANTONE Process Yellow PC"
2190 !:mime image/x-xv-thumbnail
2194 # NITF is defined by United States MIL-STD-2500A
2203 !:mime image/x-gem
2230 # pattern_size 1-8. 2 for GEM Paint
2249 >>26 ubyte 8 8-bit
2250 >>26 ubyte 16 16-bit
2324 # Squeak images and programs - etoffi@softhome.net
2329 # Author: Hans-Joachim Baader <hjb@pro-linux.de>
2330 0 string PaRtImAgE-VoLuMe PartImage
2332 >>0x0060 ulelong >-1 volume %d
2346 # DCX is multi-page PCX, using a simple header of up to 1024
2351 0 ulelong 987654321 DCX multi-page
2352 # http://www.nationalarchives.gov.uk/pronom/x-fmt/348
2353 !:mime image/x-dcx
2374 # Bio-Rad .PIC is an image format used by microscope control systems
2377 # BOOL values are two-byte integers; use them to rule out false positives.
2379 # Samples: https://www.loci.wisc.edu/software/sample-data
2382 >>54 uleshort 12345 Bio-Rad .PIC Image File
2412 !:mime image/x-exr
2430 >>&14 ulelong x %d)-
2435 >>&14 ulelong x %d)-
2446 # ANSI/SMPTE 268M-1994, SMPTE Standard for File Format for Digital
2447 # Moving-Picture Exchange (DPX), v1.0, 18 February 1994
2450 0 string SDPX DPX image data, big-endian,
2451 !:mime image/x-dpx
2453 0 string XPDS DPX image data, little-endian,
2454 !:mime image/x-dpx
2480 # "netCDF-3 Classic" by DROID via PUID fmt/282
2483 # skip DROID fmt-282-signature-id-298.nc by test for more content bytes
2486 # https://reposcope.com/mimetype/application/x-netcdf
2487 !:mime application/x-netcdf
2490 # https://www.file-extensions.org/cdf-file-extension-unidata-network-common-data-form
2493 # 64-bit offset netcdf Classic https://www.unidata.ucar.edu/software/netcdf/docs/file_format_specif…
2494 # Note: called "netCDF-3 64-bit" by DROID via PUID fmt/283
2496 # skip DROID fmt-283-signature-id-299.nc by test for more content bytes
2497 >3 uleshort >0 NetCDF Data Format data (64-bit offset)
2499 !:mime application/x-netcdf
2505 !:mime application/x-cdf
2508 !:mime application/x-cdf
2511 !:mime application/x-cdf
2517 …://portal.hdfgroup.org/download/attachments/52627880/HDF5_File_Format_Specification_Version-3.0.pdf
2519 !:mime application/x-hdf
2522 #!:mime application/x-hdf
2523 !:mime application/x-hdf5
2526 # skip Matlab v5 mat-file testhdf5_7.4_GLNX86.mat handled by ./mathematica
2528 #!:mime application/x-hdf
2529 !:mime application/x-hdf5
2532 #!:mime application/x-hdf
2533 !:mime application/x-hdf5
2536 #!:mime application/x-hdf
2537 !:mime application/x-hdf5
2540 #!:mime application/x-hdf
2541 !:mime application/x-hdf5
2544 # From: Tobias Burnus <burnus@net-b.de>
2551 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/b/bmf-corel.trid.xml
2555 !:mime image/x-corel-bmf
2561 !:mime image/x-cpi
2576 # Applied Images - Image files from Cytovision
2585 # Wavelet Scalar Quantization format used in gray-scale fingerprint images
2595 # Note: Different versions exist for e.g. 8 bit and 16 bit images.
2597 0 string/b PCO- PCO B16 image data
2601 >20 ulelong -1 \b, extended header
2620 !:mime image/x-polar-monitor-bitmap
2627 # Sony SRF raw image (image/x-sony-srf)
2632 #!:mime image/x-garmin-srf
2645 #!:mime application/octet-stream
2646 !:mime image/x-ulead-pe3
2652 >>&-1 string x "%s"
2666 #!:mime application/octet-stream
2667 !:mime image/x-ulead-pe4
2672 >>&-6 use jpeg
2675 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pe3-imaginfo.trid.xml
2679 >>0 use ulead-imaginfo
2681 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pe4-imaginfo.trid.xml
2684 >>0 use ulead-imaginfo
2686 0 name ulead-imaginfo
2688 #!:mime application/octet-stream
2689 !:mime image/x-ulead-imaginfo
2703 # by looking for driver letter in range A-Z
2704 >>>&-1 ubyte >0x40
2705 # directory path like: "E:\iPE\CDSample\Images\Scenes" "D:\XmasCard\Samples" "C:\TEMP\PLANTS"
2706 >>>>&-5 pstring/l >0 \b, "%s"
2708 >>>&-1 default x
2711 >>>>>&-4 pstring/l >0 \b, "%s"
2716 >>>>&-4 pstring/l >0 \b, "%s"
2720 >>&1 string x with %-.3s images
2723 # https://www.file-extensions.org/pst-file-extension-ulead-pattern-image-format
2724 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pst-ulead.trid.xml
2730 #!:mime application/octet-stream
2731 !:mime image/x-ulead-pst
2739 # URL: http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?view=markup
2746 0 string MMOR Olympus ORF raw image data, big-endian
2747 !:mime image/x-olympus-orf
2748 0 string IIRO Olympus ORF raw image data, little-endian
2749 !:mime image/x-olympus-orf
2750 0 string IIRS Olympus ORF raw image data, little-endian
2751 !:mime image/x-olympus-orf
2765 # URL: https://www.mpi-inf.mpg.de/resources/pfstools/pfs_format_spec.pdf
2770 #!mime image/x-pfs
2771 >1 regex [0-9]*\ \b, %s
2772 >>1 regex \ [0-9]{4} \bx%s
2775 # URL: https://www.photofo.com/downloads/x3f-raw-format.pdf
2780 !:mime image/x-x3f
2789 !:mime image/x-paintnet
2793 0 string \x46\x4d\x52\x00 ISO/IEC 19794-2 Format Minutiae Record (FMR)
2797 90 ubequad 0x574D50484F544F00 JPEG-XR Image
2817 >>101 ubeshort&0xf 0x0 \b1-WHITE=1
2820 >>101 ubeshort&0xf 0x3 \b16-SIGNED
2821 >>101 ubeshort&0xf 0x4 \b16-FLOAT
2823 >>101 ubeshort&0xf 0x6 \b32-SIGNED
2824 >>101 ubeshort&0xf 0x7 \b32-FLOAT
2827 >>101 ubeshort&0xf 0xa \b5-6-5
2832 >>101 ubeshort&0xf 0xf \b1-BLACK=1
2857 !:mime image/x-icns
2870 # Note: called as "PSX TIM *bpp bitmap" by bitmap-tim-*.trid.xml
2871 # verified as "TIM PSX" by XnView `nconvert -fullinfo *.tim` and
2872 # by RECOIL `recoil2png -o TMP.PNG input.tim; file TMP.PNG` and often
2873 # as "PSX TIM" by ImageMagick version 7.1.0-10 command `identify *.tim`
2886 !:mime image/x-sony-tim
2890 >>4 ulelong&0x07 0x0 4-Bit,
2891 >>4 ulelong&0x07 0x1 8-Bit,
2893 >>4 ulelong 0x2 15-Bit,
2894 >>4 ulelong 0x3 24-Bit,
2896 >>4 ulelong&0x07 0x4 Mixed-Bit,
2962 # URL: https://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphic…
2965 0 name ms-directdraw-dx10
3141 # URL: https://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphic…
3144 0 name ms-directdraw-surface
3148 >0x58 ulelong >0 \b, %u-bit color
3153 >>>0x80 use ms-directdraw-dx10
3167 # NOTE: 15-bit color formats usually have 16-bit listed as the color depth.
3234 # Less common 32-bit color formats.
3246 # URL: https://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphic…
3250 >0 use ms-directdraw-surface
3255 # - https://fabiensanglard.net/Mykaruga/tools/segaPVRFormat.txt
3256 # - https://github.com/yazgoo/pvrx2png
3257 # - https://github.com/nickworonekin/puyotools
3260 0 name sega-pvr-image-header
3276 >0x09 ubyte 0x05 \b, 8-bit CLUT twiddled
3277 >0x09 ubyte 0x06 \b, 4-bit CLUT twiddled
3278 >0x09 ubyte 0x07 \b, 8-bit direct twiddled
3279 >0x09 ubyte 0x08 \b, 4-bit direct twiddled
3290 >>0x20 use ms-directdraw-surface
3292 >>0 use sega-pvr-image-header
3298 >>>0x20 use ms-directdraw-surface
3300 >>>0x10 use sega-pvr-image-header
3304 >>0x10 use sega-gvr-image-header
3308 0 name sega-gvr-image-header
3325 >0x10 use sega-gvr-image-header
3330 >>0x10 use sega-gvr-image-header
3344 >4 ulelong 0x78563412 little-endian,
3345 >4 ulelong 0x12345678 big-endian,
3353 # https://www.iana.org/assignments/media-types/image/ktx
3357 0 name khronos-ktx-glEnum
3414 # Endian-specific KTX header.
3416 0 name khronos-ktx-endian-header
3421 >>8 use khronos-ktx-glEnum
3423 >>12 use khronos-ktx-glEnum
3430 >12 ulelong 0x04030201 (little-endian)
3431 >>16 use khronos-ktx-endian-header
3432 >12 ubelong 0x04030201 (big-endian)
3433 >>16 use \^khronos-ktx-endian-header
3438 # Reference: http://github.khronos.org/KTX-Specification/
3439 # https://www.iana.org/assignments/media-types/image/ktx2
3442 0 name khronos-ktx2-supercompression
3449 0 name khronos-ktx2-vkFormat
3710 >>44 use khronos-ktx2-supercompression
3712 >>12 use khronos-ktx2-vkFormat
3717 # - https://developer.valvesoftware.com/wiki/Valve_Texture_Format
3720 0 name vtf-image-format
3759 >0x34 ulelong >-1 \b,
3760 >>0x34 use vtf-image-format
3773 # - https://stackoverflow.com/questions/22600678/determine-internal-format-of-given-astc-compressed
3774 # - https://stackoverflow.com/a/22682244
3779 # X, Y, and Z dimensions are stored as 24-bit LE.
3780 # Pretend it's 32-bit and mask off the high byte.
3804 # https://github.com/ax3l/lines-are-beautiful
3806 # reMarkable-lines-file-format.html#what-to-do-next
3815 # newer per-page files for the reMarkable
3825 # - http://cdn.imgtec.com/sdk-documentation/PVR+File+Format.Specification.pdf
3828 0 name pvr3-pixel-format
3833 >0 ulelong 4 PVRTC-II 2bpp
3834 >0 ulelong 5 PVRTC-II 4bpp
3887 >>0x08 use pvr3-pixel-format
3906 >>0x08 use pvr3-pixel-format
3922 # - https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/develop/src/core/hle/D3D8/XbD3D8Types.h
3925 0 name xbox-xpr-pixel-format
3984 >>0x19 use xbox-xpr-pixel-format
4029 # URL: http://fileformats.archiveteam.org/wiki/Corel_Photo-Paint_image
4030 # Reference: http://blog.argasinski.eu/wp-content/uploads/2011/08/cpt-specification-0.01.pdf
4032 >4 string FILE Corel Photo-Paint image, version
4035 !:mime image/x-corel-cpt
4041 >>>>&(0x34.l-1) ulelong x %u
4057 # palette_length number of colors * 3 in case of 8-bit RGB paletted image
4067 # bit 1 in CPT file flags: UCS-2 file comment present
4071 # UCS-2 file comment
4073 # if no UCS-2 is present show ANSI file comment[112] if available
4075 >>>0x3C string >\0 "%-.112s"
4096 # bits 3-7 in CPT file flags: unknown, seem to be often 0
4102 # blocks_array_offset is always 0 for CPT7 and CPT8 files created by PP7-PP8
4114 #>>>0x154 use color-profile
4118 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cdr-gen.trid.xml
4120 # version til 2 WL-based; from version 3 til 13 handled by ./riff and from 14 zip based handled by…
4122 #!:mime image/x-coreldraw
4123 !:mime application/vnd.corel-draw
4125 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cdr-corel-10.trid.xml
4128 # only DROID fmt-467-signature-id-726.cdr example
4131 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/cdr-corel-20.trid.xml
4142 # - https://github.com/BinomialLLC/crunch/blob/44c8402e24441c7524ca364941fd224ab3b971e9/inc/crn_dec…
4164 # - https://github.com/BinomialLLC/basis_universal/blob/master/spec/basis_spec.txt
4172 >>0x15 uleshort&0x02 2 \b, Y-flipped
4174 # MIME registration: https://www.iana.org/assignments/media-types/model/e57
4177 # https://www.ri.cmu.edu/pub_files/2011/1/2011-huber-e57-v3.pdf
4178 0 string ASTM-E57 ASTM E57 three-dimensional model
4188 # Based on spec v1.0 (2022.01.05) <https://qoiformat.org/qoi-specification.pdf>
4192 !:mime image/x-qoi
4212 0 name godot-pixel-format-v3
4258 0 name godot-pixel-format-v4
4302 0 name godot-rescale-display-w
4326 0 name godot-rescale-display-h
4351 # - https://github.com/godotengine/godot/blob/3.3/core/image.h
4352 # - https://github.com/godotengine/godot/blob/3.3/scene/resources/texture.cpp
4353 # - https://github.com/godotengine/godot/blob/3.3/scene/resources/texture.h
4357 !:mime image/x-godot-stex
4362 >>6 use godot-rescale-display-w
4363 >>10 use godot-rescale-display-h
4369 >>16 use godot-pixel-format-v3
4374 # - https://github.com/godotengine/godot/blob/master/core/io/image.h
4375 # - https://github.com/godotengine/godot/blob/master/scene/resources/texture.cpp
4376 # - https://github.com/godotengine/godot/blob/master/scene/resources/texture.h
4380 !:mime image/x-godot-stex
4384 >8 use godot-rescale-display-w
4385 >12 use godot-rescale-display-h
4388 >0x30 use godot-pixel-format-v4
4395 # Reference: http://mark0.net/download/triddefs_xml.7z/defs/i/idf-icedraw.trid.xml
4398 # verified by FFmpeg command `ffprobe ICE-9605.IDF` and `ansilove -s SQ-FORCE.IDF`
4400 #!:mime application/octet-stream
4401 !:mime image/x-idf
4408 0 name rix-header
4436 >4 use rix-header
4444 >3 string Cj 3-4
4445 >3 string Em 5-7
4446 >3 string Fk 8-12
4469 # http://mark0.net/download/triddefs_xml.7z/defs/p/pict-v2.trid.xml
4470 # Note: called "Macintosh Quickdraw/PICT drawing" by shared MIME-info database from freedesktop.or…
4472 # verified by command like `deark -m pict -l -d2 flag_b24.pct` as PICT v2,
4474 # partly by ImageMagick `identify -verbose flag_b24.pct` as (Apple Macintosh QuickDraw/PICT) and
4475 # partly by XnView `nconvert -fullinfo *.pict *.pic *.pct` as "Macintosh PICT 2"
4478 # few Macintosh QuickDraw with one corner at -1/-1 coordinates like PICT_129.pict PICT_2012.pict (s…
4482 # skip DROID fmt-341-signature-id-468.pct with invalid dimension x=0
4484 # skip DROID variant fmt-341-signature-id-468.pct using 0xAB instead 0x0
4486 #!:mime application/octet-stream
4487 !:mime image/x-pict
4497 # look for LongText afterwards like "and a/None|Cinepak|Photo - JPEG decompressor/are needed to see…
4499 >>>>>>&-4 string None None
4501 >>>>>>&-7 string Cinepak Cinepak
4502 >>>>>>&-12 string Photo\040-\040JPEG JPEG
4503 >>>>>>&-13 string Compact\040Video cvid
4504 # case where decompression is not like: Cinepak None "Photo - JPEG" "Compact Video decompressor"
4505 >>>>>>&-6 default x
4510 # GRR: samples with coordinates -1/-1 and Y=0x01??|0x00?? are interpreted as "Claris clip art" (str…
4513 >>>>>516 beshort !0 \b-%d
4515 >>>>>514 beshort !0 \b-%d
4519 # version 2.0 files also have a 26-byte header following the version information
4525 >>>>-2 ubeshort !0x00FF \b, at the end %#4.4x opcode
4527 # http://mark0.net/download/triddefs_xml.7z/defs/p/pict-v1.trid.xml
4528 …raw/PICT bitmap (v1)" by TrID and "Macintosh PICT Image" version 1.0 by DROID via PUID via x-fmt/80
4529 # verified by command like `deark -m pict -l -d2 FC9.PCT` as PICT v1,
4530 # by ImageMagick `identify -verbose *.pict` as PICT (Apple Macintosh QuickDraw/PICT) and
4531 # by XnView `nconvert -fullinfo *.pict *.pct` as "Macintosh PICT"
4534 # skip DROID x-fmt-80-signature-id-859.pct x-fmt-80-signature-id-860.pct without next opcode usuall…
4536 >>0 use mac-pict1
4538 0 name mac-pict1
4540 #!:mime application/octet-stream
4541 !:mime image/x-pict
4550 >516 ubeshort !0 \b-%u
4552 >514 ubeshort !0 \b-%u
4561 >-1 ubyte !0xFF \b, at the end %#2.2x opcode
4563 # https://github.com/aseprite/aseprite/blob/main/docs/ase-file-specs.md