# vtkImageReader.cxx not available for modelling with raw file

**URL:** https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286
**Category:** ParaView Support
**Tags:** vtk
**Created:** [January 7, 2020, 6:41pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286 "2020-01-07T18:41:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Chloe\_Pearce](https://discourse.paraview.org/user_avatar/discourse.paraview.org/chloe_pearce/32/2660_2.png) [@Chloe\_Pearce](https://discourse.paraview.org/u/Chloe_Pearce)
#### Post date: [January 7, 2020, 6:41pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/1 "2020-01-07T18:41:58Z")

</div>

Hi there,

I’m new to ParaView (5.7.0) and have hit an unexpected roadblock. Following instruction given here (see below) I am trying to build a 3D model from slices, prepared using ImageJ and MuhRec (collected via neutron tomography, so greyscale). As recommended I created raw file and applied the relevant scalar type and data extent. However, when the process always fails. I get the generic warning: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\IO\Image\vtkImageReader.cxx, line 307  
File operation failed. row = 0, Tried to Read = 3086, Read = 0, Skip0 = 0, Skip1 = 0, FilePos = -1  
ParaView is not installed in hardrive C and I’ve not been able to trace it.

Any advice would be great! Thank you.

[http://wiki.rac.manchester.ac.uk/community/ParaView/Tips/LoadImageStack](http://wiki.rac.manchester.ac.uk/community/ParaView/Tips/LoadImageStack)

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 7, 2020, 7:08pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/2 "2020-01-07T19:08:07Z")

</div>

Welcome to ParaView, Chloe!

Did you make sure to set the **Data Extent** upper bounds to the image dimensions - 1? That is often a source of difficulty.

---

<div class="post-metadata">

### Author: ![Chloe\_Pearce](https://discourse.paraview.org/user_avatar/discourse.paraview.org/chloe_pearce/32/2660_2.png) [@Chloe\_Pearce](https://discourse.paraview.org/u/Chloe_Pearce)
#### Post date: [January 20, 2020, 4:48pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/3 "2020-01-20T16:48:04Z")

</div>

Hello Cory!

I’ve run through your suggestion with a couple of times on a large (1930 slices) and small (32 slices) set but still no luck. Instead I get this error message:

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\IO\Image\vtkImageReader.cxx, line 190  
vtkImageReader (000002272AC90CE0): Header size: 4294769728, file ext: -1, 1542, -1, 1542, -1, 31

Do let me know if there is any additional information I can provide, and thank you for your help!

Best wishes,  
Chloe

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 20, 2020, 4:51pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/4 "2020-01-20T16:51:50Z")

</div>

Don’t set the values in the left column of the **Data Extent** property to -1, set them to 0 and try again.

---

<div class="post-metadata">

### Author: ![Chloe\_Pearce](https://discourse.paraview.org/user_avatar/discourse.paraview.org/chloe_pearce/32/2660_2.png) [@Chloe\_Pearce](https://discourse.paraview.org/u/Chloe_Pearce)
#### Post date: [January 20, 2020, 5:21pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/5 "2020-01-20T17:21:31Z")

</div>

When set to 0 I get the outline of a block, but then the program tends to crash.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [January 20, 2020, 5:53pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/6 "2020-01-20T17:53:20Z")

</div>

Can you share a dataset so we can try to reproduce the crash?

---

<div class="post-metadata">

### Author: ![zihengw](https://discourse.paraview.org/user_avatar/discourse.paraview.org/zihengw/32/3806_2.png) [@zihengw](https://discourse.paraview.org/u/zihengw)
#### Post date: [May 21, 2020, 9:16pm UTC](https://discourse.paraview.org/t/vtkimagereader-cxx-not-available-for-modelling-with-raw-file/3286/7 "2020-05-21T21:16:12Z")

</div>

Chloe and Cory,

I am facing the exact same problem. Wondering if you have figured out the solution yet. I am trying to use paraview to read in some tomography data in .raw format exported from Avizo.

Dino
