HDF5NXmx: Fix dimension order in SaveCBORImage
This commit is contained in:
+1
-1
@@ -193,7 +193,7 @@ void HDF5Metadata::DetectorModule(HDF5File *hdf5_file, const std::string &name,
|
||||
}
|
||||
|
||||
void HDF5Metadata::SaveCBORImage(HDF5File *hdf5_file, const std::string &hdf5_path, const CBORImage &image) {
|
||||
std::vector<hsize_t> dims = {image.xpixel, image.ypixel};
|
||||
std::vector<hsize_t> dims = {image.ypixel, image.xpixel};
|
||||
|
||||
HDF5DataType data_type(image.pixel_depth_bytes, image.pixel_is_signed);
|
||||
HDF5Dcpl dcpl;
|
||||
|
||||
Reference in New Issue
Block a user