# Image Spacing Bug: Spacing is not match with input nrrd file

**URL:** https://discourse.paraview.org/t/image-spacing-bug-spacing-is-not-match-with-input-nrrd-file/10248
**Category:** Development
**Created:** [September 4, 2022, 9:08am UTC](https://discourse.paraview.org/t/image-spacing-bug-spacing-is-not-match-with-input-nrrd-file/10248 "2022-09-04T09:08:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sharon](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/67e7ee/32.png) [@sharon](https://discourse.paraview.org/u/sharon)
#### Post date: [September 4, 2022, 9:08am UTC](https://discourse.paraview.org/t/image-spacing-bug-spacing-is-not-match-with-input-nrrd-file/10248/1 "2022-09-04T09:08:19Z")

</div>

Dear Experts,  
From input file the spacing is:  
space directions: (0.98705792427062977,0,0) (0,0.98727250099182129,0) (0,0,1)

but after read input paraview, this spacing is: (1.0, 1.0, 1.0) which can be confirmed by information panel or see the exact number when debug inside program

Also from the code, i can only see the spacing is read from file but only set to outInfo, but not output image object:  
vtkImageReader::RequestInformation  
outInfo-\>Set(vtkDataObject::SPACING(), this-\>DataSpacing, 3);

my paraview version is 5.9.0

Thanks in advance for your kind help!
