View Issue Details

IDProjectCategoryView StatusLast Update
0000106file[All Projects] Generalpublic2019-09-23 13:04
ReporterchuckthedudeAssigned Tochristos 
PrioritynormalSeveritytrivialReproducibilityN/A
Status resolvedResolutionfixed 
Product Version5.37 
Target VersionFixed in VersionHEAD 
Summary0000106: add support for ILDA files
DescriptionUpdate magic to detect .lid ILDA files
Steps To Reproducechein@GeekLab-2 file % git diff origin/master master
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 \
TagsNo tags attached.

Activities

chuckthedude

2019-09-23 09:33

reporter   ~0003305

patchfile

0001-Support-for-ILDA-files.patch (1,527 bytes)
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)

chuckthedude

2019-09-23 09:42

reporter   ~0003306

Attached sample ILDA file for testing if desired or required.
http://laserboy.org/formatt/formatt.ild

From: http://laserboy.org/ilda_file_format.html
A LOT MORE THAN YOU EVER WANTED TO KNOW ABOUT THE ILDA FILE FORMAT

formatt.ild (38,522 bytes)

christos

2019-09-23 13:04

manager   ~0003307

Added to images, thanks!

Issue History

Date Modified Username Field Change
2019-09-23 09:26 chuckthedude New Issue
2019-09-23 09:33 chuckthedude File Added: 0001-Support-for-ILDA-files.patch
2019-09-23 09:33 chuckthedude Note Added: 0003305
2019-09-23 09:42 chuckthedude File Added: formatt.ild
2019-09-23 09:42 chuckthedude Note Added: 0003306
2019-09-23 13:04 christos Assigned To => christos
2019-09-23 13:04 christos Status new => assigned
2019-09-23 13:04 christos Status assigned => resolved
2019-09-23 13:04 christos Resolution open => fixed
2019-09-23 13:04 christos Fixed in Version => HEAD
2019-09-23 13:04 christos Note Added: 0003307