# Maximum dimensions in an image

**URL:** <https://discourse.itk.org/t/maximum-dimensions-in-an-image/2405>\
**Category:** Community\
**Created:** [November 14, 2019, 1:20pm UTC](https://discourse.itk.org/t/maximum-dimensions-in-an-image/2405 "2019-11-14T13:20:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarthakpati](https://discourse.itk.org/user_avatar/discourse.itk.org/sarthakpati/32/383_2.png) [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Post date:** [November 14, 2019, 1:20pm UTC](https://discourse.itk.org/t/maximum-dimensions-in-an-image/2405/1 "2019-11-14T13:20:32Z")

</div>

Is it possible to have more than 32767 columns/rows in an image? I have observed that a package that is using ITK [[ref](https://github.com/CBICA/HistoReg/issues/5#issuecomment-553662735)] has this limitation and I was curious if this was indeed the case.

---

<div class="post-metadata">

**Author:** ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Post date:** [November 14, 2019, 2:03pm UTC](https://discourse.itk.org/t/maximum-dimensions-in-an-image/2405/2 "2019-11-14T14:03:33Z")

</div>

That might be a limitation of the Nifti file format. Try other file formats (MetaIO, NRRD). Image sizes should be 64-bit long now, and might have been 32-bit long more than a decade ago.

---

<div class="post-metadata">

**Author:** ![sarthakpati](https://discourse.itk.org/user_avatar/discourse.itk.org/sarthakpati/32/383_2.png) [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Post date:** [November 14, 2019, 2:08pm UTC](https://discourse.itk.org/t/maximum-dimensions-in-an-image/2405/3 "2019-11-14T14:08:45Z")

</div>

Got it, thank you.
