From fc963400449ee9c2fac2ced5c53e490b2fd7d9aa Mon Sep 17 00:00:00 2001
From: Chuck Hein <chein@apple.com>
Date: Mon, 23 Sep 2019 02:08:27 -0700
Subject: [PATCH] Support for ILDA files

---
 magic/Magdir/ilda | 18 ++++++++++++++++++
 magic/Makefile.am |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 magic/Magdir/ilda

diff --git a/magic/Magdir/ilda b/magic/Magdir/ilda
new file mode 100644
index 00000000..c5be6870
--- /dev/null
+++ b/magic/Magdir/ilda
@@ -0,0 +1,18 @@
+
+#------------------------------------------------------------------------------
+# $File$
+# ilda:  file(1) magic for ilda
+#
+# ILDA Image Data Transfer Format
+# https://www.ilda.com/resources/StandardsDocs/ILDA_IDTF14_rev011.pdf
+#
+# Updated by Chuck Hein (laser@geekdude.com)
+#
+
+0       string  ILDA    ILDA Image Data Transfer Format
+>7      byte    0x00    3D Coordinates with Indexed Color
+>7      byte    0x01    2D Coordinates with Indexed Color
+>7      byte    0x02    Color Palette
+>7      byte    0x04    3D Coordinates with True Color
+>7      byte    0x05    2D Coordinates with True Color
+
diff --git a/magic/Makefile.am b/magic/Makefile.am
index 6aeeb4ce..aee9d2bb 100644
--- a/magic/Makefile.am
+++ b/magic/Makefile.am
@@ -129,6 +129,7 @@ $(MAGIC_FRAGMENT_DIR)/ibm370 \
 $(MAGIC_FRAGMENT_DIR)/ibm6000 \
 $(MAGIC_FRAGMENT_DIR)/icc \
 $(MAGIC_FRAGMENT_DIR)/iff \
+$(MAGIC_FRAGMENT_DIR)/ilda \
 $(MAGIC_FRAGMENT_DIR)/images \
 $(MAGIC_FRAGMENT_DIR)/inform \
 $(MAGIC_FRAGMENT_DIR)/intel \
-- 
2.21.0 (Apple Git-122)

