# vtkImageResize for VTK.js

**URL:** https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882
**Category:** Web
**Created:** [April 30, 2019, 5:46pm UTC](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882 "2019-04-30T17:46:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Donny\_Zimmerman](https://discourse.vtk.org/user_avatar/discourse.vtk.org/donny_zimmerman/32/301_2.png) [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)
#### Post date: [April 30, 2019, 5:46pm UTC](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882/1 "2019-04-30T17:46:59Z")

</div>

I just wanted to verify if vtkImageResize is not available in VTK.js. Are there any plans to add it?

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [April 30, 2019, 9:59pm UTC](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882/2 "2019-04-30T21:59:59Z")

</div>

vtkImageResize is indeed not available in vtk.js.

Are you looking at the interpolation/antialiasing functionality or just some resizing/reshaping of the data array. If it is the later, then it would be easy to contribute and implement it in JS.

---

<div class="post-metadata">

### Author: ![Donny\_Zimmerman](https://discourse.vtk.org/user_avatar/discourse.vtk.org/donny_zimmerman/32/301_2.png) [@Donny\_Zimmerman](https://discourse.vtk.org/u/Donny_Zimmerman)
#### Post date: [May 1, 2019, 1:01am UTC](https://discourse.vtk.org/t/vtkimageresize-for-vtk-js/882/3 "2019-05-01T01:01:57Z")

</div>

I am needing the intopolation/antialiasing functionality. I might try to pre-process the image data with another tool before bringing it into vtk.js.
