summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/testfiles
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2015-03-30 05:28:13 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2015-03-30 05:28:13 (GMT)
commit56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d (patch)
treeb1e0831879ffd166df40d698f5641268efc44d84 /hl/tools/gif2h5/testfiles
parentf617eeb78fbc2df5baacc9b0af9a08920a3538d8 (diff)
downloadhdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.zip
hdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.tar.gz
hdf5-56fe37c8e67b9a3331564f35f5ebe008b6fb8a0d.tar.bz2
[svn-r26646] Bug fix: HDFFV-8957 h52gif crashes when run against one of our own examples.
Description: h52gif crashed when it was asked to convert a 24bitimage. Upon viewing the code, it did not prepare to handle images other than 2 dimensions. It has no concept of multiple planes images. Further examinations showed past attempts to fix it ended up removed some abilities (-p or multiple planes, animation, ...) have been removed but documentation was not updated. Even its online help message still shows -p is an option. Solution: added protection code to flag errors if input request is not an 8bit image within size limits. (I don't have enough knowledge of the GIF format to fix this tool. All I did was plugging known bug from crashing the program.) Tested: h5committest.
Diffstat (limited to 'hl/tools/gif2h5/testfiles')
-rw-r--r--hl/tools/gif2h5/testfiles/REAMDE6
-rw-r--r--hl/tools/gif2h5/testfiles/ex_image2.h5bin0 -> 224533 bytes
2 files changed, 6 insertions, 0 deletions
diff --git a/hl/tools/gif2h5/testfiles/REAMDE b/hl/tools/gif2h5/testfiles/REAMDE
new file mode 100644
index 0000000..a428d47
--- /dev/null
+++ b/hl/tools/gif2h5/testfiles/REAMDE
@@ -0,0 +1,6 @@
+ex_image2.h5
+ Generated by hl/examples/ex_image2.c
+5giftst.h5:
+ Generated by ../h52gifgentst.c
+image1.gif:
+ To be determined.
diff --git a/hl/tools/gif2h5/testfiles/ex_image2.h5 b/hl/tools/gif2h5/testfiles/ex_image2.h5
new file mode 100644
index 0000000..a36df1b
--- /dev/null
+++ b/hl/tools/gif2h5/testfiles/ex_image2.h5
Binary files differ