]> granicus.if.org Git - file/commitdiff
EGG and I-tunes cover art from Thomas Kaeding
authorChristos Zoulas <christos@zoulas.com>
Fri, 23 Feb 2018 15:19:07 +0000 (15:19 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 23 Feb 2018 15:19:07 +0000 (15:19 +0000)
magic/Magdir/apple
magic/Magdir/archive

index 4a296b6ad2cd07463d9e27a2d6cc16eb97ebfe23..559c0ff3a71f36e148c567063b0e9ddfb1ff609d 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: apple,v 1.37 2017/11/14 15:57:38 christos Exp $
+# $File: apple,v 1.38 2018/02/23 15:19:07 christos Exp $
 # apple:  file(1) magic for Apple file formats
 #
 0      search/1/t      FiLeStArTfIlEsTaRt      binscii (apple ][) text
 # from Alex Myczko <alex@aiei.ch>
 32     string  NXSB    Apple File System (APFS)
 >36    ulelong x       \b, blocksize %u
+
+# iTunes cover art (versions 1 and 2)
+4              string  itch
+>24            string  artw
+>>0x1e8                string  data    iTunes cover art
+>>>0x1ed       string  PNG     (PNG)
+>>>0x1ec       beshort 0xffd8  (JPEG)
index a3aa2016160f31aa0a9a3757a8bb8805666e0e98..72712d00ac703e9177bf3a1d82a08e9b7ae03a13 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: archive,v 1.112 2017/11/10 03:42:09 christos Exp $
+# $File: archive,v 1.113 2018/02/23 15:19:07 christos Exp $
 # archive:  file(1) magic for archive formats (see also "msdos" for self-
 #           extracting compressed archives)
 #
 # reference: https://github.com/MarcoPon/SeqBox
 0      string  SBx     SeqBox,
 >3     byte    x       version %d
+
+# EGG archive http://sdn.altools.co.kr/etc/EGG_Specification.zip
+0      string  EGGA    EGG archive
+4      beshort x       version %d