aboutsummaryrefslogtreecommitdiff
path: root/pkg/dataio/import/bltins/README
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/dataio/import/bltins/README
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'pkg/dataio/import/bltins/README')
-rw-r--r--pkg/dataio/import/bltins/README13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/dataio/import/bltins/README b/pkg/dataio/import/bltins/README
new file mode 100644
index 00000000..c15b9cfe
--- /dev/null
+++ b/pkg/dataio/import/bltins/README
@@ -0,0 +1,13 @@
+ This directory contains the source code for the 'builtin' formats
+converted with IMPORT. Here we implement three formats that require different
+levels of processing: the GIF format uses LZW compression and a colormap for
+pixel storage and requires the most work, Sun Rasterfiles have various formats
+that may require colormap application or RLE decoding, and lastly the X
+Window Dump format that fits the generic binary raster model with the exception
+of an 8-bit file with a colormap.
+ Because formats are defined in the data base the user is unaware of
+any special processing that occurs unless implementing a new format that
+requires partivular handling. In the case of colormap files the example of
+XWD can be followed and all that's needed is a routine to read the colormap
+from the image. 'Builtin' formats must, however, be declared in the source
+import$ipbuiltin.x to route execution to the format-specific code.