aboutsummaryrefslogtreecommitdiff
path: root/sys/imfort/oif.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /sys/imfort/oif.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'sys/imfort/oif.h')
-rw-r--r--sys/imfort/oif.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/imfort/oif.h b/sys/imfort/oif.h
new file mode 100644
index 00000000..43345e09
--- /dev/null
+++ b/sys/imfort/oif.h
@@ -0,0 +1,16 @@
+# OIF.H -- IKI/OIF internal definitions.
+
+define MAX_LENEXTN 3 # max length imagefile extension
+define LEN_EXTN 3 # actual length imagefile extension
+define OIF_HDREXTN "imh" # imheader filename extension
+define OIF_PIXEXTN "pix" # pixel file extension
+define LEN_PIXHDR 512 # length of PIXHDR structure
+define COMPRESS NO # disable alignment of image lines?
+define DEF_VERSION 2 # default file version
+define HDR_EXTENSIONS "|^imh|" # legal header file extensions
+
+define HDR "HDR$" # stands for header directory
+define STRLEN_HDR 4
+
+define TY_IMHDR 1 # main imagefile header
+define TY_PIXHDR 2 # pixel file header