]> git.imager.perl.org - imager.git/commitdiff
what do we do about incomplete files?
authorTony Cook <tony@develop=help.com>
Fri, 24 Jun 2005 03:43:21 +0000 (03:43 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 24 Jun 2005 03:43:21 +0000 (03:43 +0000)
design/incomplete.txt [new file with mode: 0644]

diff --git a/design/incomplete.txt b/design/incomplete.txt
new file mode 100644 (file)
index 0000000..05b2f7e
--- /dev/null
@@ -0,0 +1,14 @@
+How should we handle incomplete files?
+======================================
+
+Reading an incomplete TIFF sets i_incomplete, but no others do.
+
+Should this only occur if a flag is set?
+
+Should there be some indication of how much was read?
+
+Some formats, like compressed BMP don't really have a way to tell.  A
+valid BMP might be 100 x 100 and only set 1 pixel in the data.  Though
+we can't tell what the non-set pixels should be in this case.
+
+