[svn-r14342] change the implementation of H5IMmake_image_8bit to use a 2D dataset

tested: windows, linux solaris w/fortran
This commit is contained in:
Pedro Vicente Nunes
2007-12-13 14:55:42 -05:00
parent 9ebdc0bf08
commit 8a5f6de990
4 changed files with 1 additions and 10 deletions

View File

@@ -49,7 +49,6 @@ herr_t H5IMmake_image_8bit( hid_t loc_id,
/* Initialize the image dimensions */
dims[0] = height;
dims[1] = width;
dims[2] = 1;
/* Make the dataset */
if ( H5LTmake_dataset( loc_id, dset_name, IMAGE8_RANK, dims, H5T_NATIVE_UCHAR, buffer ) < 0)